145 |
|
PrefsAddString("floppy", "/dev/fd0a"); |
146 |
|
PrefsAddString("floppy", "/dev/fd1a"); |
147 |
|
#elif defined(__APPLE__) && defined(__MACH__) |
148 |
+ |
// FIXME: We assume an Aqua build causes <AvailabilityMacros.h> to |
149 |
+ |
// be included, thusly enabling this part of code that would cause |
150 |
+ |
// Basilisk II to hang otherwise. |
151 |
+ |
#ifdef MAC_OS_X_VERSION_10_0 |
152 |
|
PrefsAddString("floppy", "/dev/fd/0"); |
153 |
|
PrefsAddString("floppy", "/dev/fd/1"); |
154 |
+ |
#endif |
155 |
|
#else |
156 |
|
PrefsAddString("floppy", "/dev/fd0"); |
157 |
|
PrefsAddString("floppy", "/dev/fd1"); |
222 |
|
closedir(cd_dir); |
223 |
|
} |
224 |
|
} |
225 |
< |
#elif defined(__APPLE__) && defined(__MACH__) |
225 |
> |
#elif defined(__APPLE__) && defined(__MACH__) && defined(MAC_OS_X_VERSION_10_0) |
226 |
|
extern void DarwinAddCDROMPrefs(void); |
227 |
|
|
228 |
|
DarwinAddCDROMPrefs(); |
253 |
|
PrefsAddString("seriala", "/dev/tty00"); |
254 |
|
PrefsAddString("serialb", "/dev/tty01"); |
255 |
|
#elif defined(__APPLE__) && defined(__MACH__) |
256 |
+ |
// FIXME: We assume an Aqua build causes <AvailabilityMacros.h> to |
257 |
+ |
// be included, thusly enabling this part of code that would cause |
258 |
+ |
// Basilisk II to hang otherwise. |
259 |
+ |
#ifdef MAC_OS_X_VERSION_10_0 |
260 |
|
PrefsAddString("seriala", "/dev/ttys0"); |
261 |
|
PrefsAddString("serialb", "/dev/ttys1"); |
262 |
+ |
#endif |
263 |
|
// PrefsAddString("seriala", "/dev/cu.modem"); |
264 |
|
// PrefsAddString("serialb", "/dev/cu.IrDA-IrCOMMch-b"); |
265 |
|
#endif |