Mercurial > sdl-ios-xcode
changeset 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 | e308d020d315 |
children | 79e6943b5f6c |
files | include/SDL_platform.h |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
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__