ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/sys_darwin.cpp
(Generate patch)

Comparing BasiliskII/src/MacOSX/sys_darwin.cpp (file contents):
Revision 1.4 by nigel, 2004-01-26T11:11:33Z vs.
Revision 1.5 by nigel, 2004-01-27T04:37:23Z

# Line 31 | Line 31
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>
# Line 127 | Line 129 | void DarwinAddCDROMPrefs(void)
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;
# Line 189 | Line 192 | void DarwinAddFloppyPrefs(void)
192  
193          IOObjectRelease(nextFloppy);
194          IOObjectRelease(allFloppies);
195 + #endif
196   }
197  
198  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines