diff -rupN libcdio-0.83-orig/configure libcdio-0.83-new/configure
old
|
new
|
case $host_os in |
16675 | 16675 | ## AC_DEFINE([HAVE_AIX_CDROM], [1], |
16676 | 16676 | ## [Define 1 if you have AIX CD-ROM support]) |
16677 | 16677 | ;; |
16678 | | darwin6*|darwin7*|darwin8*|darwin9*) |
| 16678 | darwin6*|darwin7*|darwin8*|darwin9*|darwin10*|darwin11*) |
16679 | 16679 | for ac_header in IOKit/IOKitLib.h CoreFoundation/CFBase.h |
16680 | 16680 | do : |
16681 | 16681 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
diff -rupN libcdio-0.83-orig/lib/driver/osx.c libcdio-0.83-new/lib/driver/osx.c
old
|
new
|
static const char _rcsid[] = "$Id: osx.c |
56 | 56 | |
57 | 57 | #include <mach/mach.h> |
58 | 58 | #include <Carbon/Carbon.h> |
| 59 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1040 |
| 60 | #include <IOKit/scsi/SCSITaskLib.h> |
| 61 | #else |
59 | 62 | #include <IOKit/scsi-commands/SCSITaskLib.h> |
| 63 | #endif |
60 | 64 | #include <IOKit/IOCFPlugIn.h> |
61 | 65 | #include <mach/mach_error.h> |
62 | 66 | |
… |
… |
static const char _rcsid[] = "$Id: osx.c |
75 | 79 | #include <CoreFoundation/CoreFoundation.h> |
76 | 80 | #include <IOKit/IOKitLib.h> |
77 | 81 | #include <IOKit/IOBSD.h> |
| 82 | #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1040 |
| 83 | #include <IOKit/scsi/IOSCSIMultimediaCommandsDevice.h> |
| 84 | #else |
78 | 85 | #include <IOKit/scsi-commands/IOSCSIMultimediaCommandsDevice.h> |
| 86 | #endif |
79 | 87 | #include <IOKit/storage/IOCDTypes.h> |
80 | 88 | #include <IOKit/storage/IODVDTypes.h> |
81 | 89 | #include <IOKit/storage/IOMedia.h> |