Updated MacOS X support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401483
This commit is contained in:
Sam Lantinga 2006-03-07 04:58:30 +00:00
parent 6ea7c0b0d1
commit 309cc6b8e1
4 changed files with 38 additions and 4 deletions

View file

@ -64,11 +64,16 @@
#if defined(macintosh)
#undef __MACOS__
#define __MACOS__ 1
#define TARGET_API_MAC_OS8 1
#define TARGET_API_MAC_CARBON 0
#define TARGET_API_MAC_OSX 0
#endif
#if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__))
#undef __MACOSX__
#define __MACOSX__ 1
#define TARGET_API_MAC_OS8 0
#define TARGET_API_MAC_CARBON 1
#define TARGET_API_MAC_OSX 1
#endif
#if defined(__NetBSD__)
#undef __NETBSD__