mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-07 12:32:21 +00:00
sys_darwin.cpp depends on CoreFoundation stuff, disable it for OpenDarwin
This commit is contained in:
parent
ff28c42565
commit
77208f85b0
@ -149,7 +149,7 @@ void SysAddFloppyPrefs(void)
|
|||||||
PrefsAddString("floppy", "/dev/fd0a");
|
PrefsAddString("floppy", "/dev/fd0a");
|
||||||
PrefsAddString("floppy", "/dev/fd1a");
|
PrefsAddString("floppy", "/dev/fd1a");
|
||||||
#elif defined(__APPLE__) && defined(__MACH__)
|
#elif defined(__APPLE__) && defined(__MACH__)
|
||||||
#if defined(AQUA) || defined(HAVE_FRAMEWORK_IOKIT)
|
#if defined(AQUA) || defined(HAVE_FRAMEWORK_COREFOUNDATION)
|
||||||
extern void DarwinAddFloppyPrefs(void);
|
extern void DarwinAddFloppyPrefs(void);
|
||||||
|
|
||||||
DarwinAddFloppyPrefs();
|
DarwinAddFloppyPrefs();
|
||||||
@ -229,7 +229,7 @@ void SysAddCDROMPrefs(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#elif defined(__APPLE__) && defined(__MACH__)
|
#elif defined(__APPLE__) && defined(__MACH__)
|
||||||
#if defined(AQUA) || defined(HAVE_FRAMEWORK_IOKIT)
|
#if defined(AQUA) || defined(HAVE_FRAMEWORK_COREFOUNDATION)
|
||||||
extern void DarwinAddCDROMPrefs(void);
|
extern void DarwinAddCDROMPrefs(void);
|
||||||
|
|
||||||
DarwinAddCDROMPrefs();
|
DarwinAddCDROMPrefs();
|
||||||
@ -264,7 +264,7 @@ void SysAddSerialPrefs(void)
|
|||||||
PrefsAddString("seriala", "/dev/tty00");
|
PrefsAddString("seriala", "/dev/tty00");
|
||||||
PrefsAddString("serialb", "/dev/tty01");
|
PrefsAddString("serialb", "/dev/tty01");
|
||||||
#elif defined(__APPLE__) && defined(__MACH__)
|
#elif defined(__APPLE__) && defined(__MACH__)
|
||||||
#if defined(AQUA) || defined(HAVE_FRAMEWORK_IOKIT)
|
#if defined(AQUA) || defined(HAVE_FRAMEWORK_COREFOUNDATION)
|
||||||
extern void DarwinAddSerialPrefs(void);
|
extern void DarwinAddSerialPrefs(void);
|
||||||
|
|
||||||
DarwinAddSerialPrefs();
|
DarwinAddSerialPrefs();
|
||||||
@ -827,7 +827,7 @@ bool SysCDReadTOC(void *arg, uint8 *toc)
|
|||||||
*toc++ = toc_size >> 8;
|
*toc++ = toc_size >> 8;
|
||||||
*toc++ = toc_size & 0xff;
|
*toc++ = toc_size & 0xff;
|
||||||
return true;
|
return true;
|
||||||
#elif defined(__APPLE__) && defined(__MACH__) && defined(MAC_OS_X_VERSION_10_2)
|
#elif defined(__APPLE__) && defined(__MACH__) && defined(MAC_OS_X_VERSION_10_2) && defined(HAVE_FRAMEWORK_COREFOUNDATION)
|
||||||
extern bool DarwinCDReadTOC(char *name, uint8 *toc);
|
extern bool DarwinCDReadTOC(char *name, uint8 *toc);
|
||||||
|
|
||||||
return DarwinCDReadTOC(fh->name, toc);
|
return DarwinCDReadTOC(fh->name, toc);
|
||||||
|
Loading…
Reference in New Issue
Block a user