comparison include/SDL_platform.h @ 1631:510b009a864c

Fixed MacOS X and Solaris detection
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Apr 2006 14:59:34 +0000
parents 10b4827452a8
children 14717b52abc0
comparison
equal deleted inserted replaced
1630:eba962f9d603 1631:510b009a864c
63 #endif 63 #endif
64 #if defined(macintosh) 64 #if defined(macintosh)
65 #undef __MACOS__ 65 #undef __MACOS__
66 #define __MACOS__ 1 66 #define __MACOS__ 1
67 #endif 67 #endif
68 #if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__)) 68 #if defined(__APPLE__)
69 #undef __MACOSX__ 69 #undef __MACOSX__
70 #define __MACOSX__ 1 70 #define __MACOSX__ 1
71 #endif 71 #endif
72 #if defined(__NetBSD__) 72 #if defined(__NetBSD__)
73 #undef __NETBSD__ 73 #undef __NETBSD__
91 #endif 91 #endif
92 #if defined(riscos) || defined(__riscos) || defined(__riscos__) 92 #if defined(riscos) || defined(__riscos) || defined(__riscos__)
93 #undef __RISCOS__ 93 #undef __RISCOS__
94 #define __RISCOS__ 1 94 #define __RISCOS__ 1
95 #endif 95 #endif
96 #if defined(solaris) || defined(__solaris) || defined(__solaris__) 96 #if defined(__SVR4)
97 #undef __SOLARIS__ 97 #undef __SOLARIS__
98 #define __SOLARIS__ 1 98 #define __SOLARIS__ 1
99 #endif 99 #endif
100 #if defined(WIN32) || defined(_WIN32) 100 #if defined(WIN32) || defined(_WIN32)
101 #undef __WIN32__ 101 #undef __WIN32__