Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 May 2006 07:08:41 +0000
changeset 1802 54f63955dc1f
parent 1801 e308d020d315
child 1803 79e6943b5f6c
Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
include/SDL_platform.h
--- a/include/SDL_platform.h	Wed May 10 06:12:45 2006 +0000
+++ b/include/SDL_platform.h	Wed May 10 07:08:41 2006 +0000
@@ -61,13 +61,12 @@
 #undef __LINUX__
 #define __LINUX__	1
 #endif
-#if defined(macintosh)
-#undef __MACOS__
-#define __MACOS__	1
-#endif
 #if defined(__APPLE__)
 #undef __MACOSX__
 #define __MACOSX__	1
+#elif defined(macintosh)
+#undef __MACOS__
+#define __MACOS__	1
 #endif
 #if defined(__NetBSD__)
 #undef __NETBSD__