Mercurial > sdl-ios-xcode
diff include/SDL_platform.h @ 1802:54f63955dc1f
Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 May 2006 07:08:41 +0000 |
parents | 510b009a864c |
children | c9aa6bcb26f3 |
line wrap: on
line diff
--- 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__