Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 May 2006 07:08:41 +0000
changeset 180254f63955dc1f
parent 1801 e308d020d315
child 1803 79e6943b5f6c
Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
include/SDL_platform.h
     1.1 --- a/include/SDL_platform.h	Wed May 10 06:12:45 2006 +0000
     1.2 +++ b/include/SDL_platform.h	Wed May 10 07:08:41 2006 +0000
     1.3 @@ -61,13 +61,12 @@
     1.4  #undef __LINUX__
     1.5  #define __LINUX__	1
     1.6  #endif
     1.7 -#if defined(macintosh)
     1.8 -#undef __MACOS__
     1.9 -#define __MACOS__	1
    1.10 -#endif
    1.11  #if defined(__APPLE__)
    1.12  #undef __MACOSX__
    1.13  #define __MACOSX__	1
    1.14 +#elif defined(macintosh)
    1.15 +#undef __MACOS__
    1.16 +#define __MACOS__	1
    1.17  #endif
    1.18  #if defined(__NetBSD__)
    1.19  #undef __NETBSD__