31 |
|
#import <IOKit/serial/IOSerialKeys.h> |
32 |
|
#import <IOKit/storage/IOMedia.h> |
33 |
|
#import <IOKit/storage/IOMediaBSDClient.h> |
34 |
< |
#import <IOKit/storage/IOBlockStorageDevice.h> |
34 |
> |
#ifdef MAC_OS_X_VERSION_10_2 |
35 |
> |
#import <IOKit/storage/IOBlockStorageDevice.h> |
36 |
> |
#endif |
37 |
|
#import <IOKit/storage/IOCDMedia.h> |
38 |
|
#import <IOKit/storage/IOCDMediaBSDClient.h> |
39 |
|
#import <CoreFoundation/CoreFoundation.h> |
129 |
|
|
130 |
|
void DarwinAddFloppyPrefs(void) |
131 |
|
{ |
132 |
+ |
#ifdef MAC_OS_X_VERSION_10_2 |
133 |
|
mach_port_t masterPort; // The way to talk to the kernel |
134 |
|
io_iterator_t allFloppies; // List of CD drives on the system |
135 |
|
CFMutableDictionaryRef classesToMatch; |
192 |
|
|
193 |
|
IOObjectRelease(nextFloppy); |
194 |
|
IOObjectRelease(allFloppies); |
195 |
+ |
#endif |
196 |
|
} |
197 |
|
|
198 |
|
|