comparison include/SDL_platform.h @ 1422:d2ee8da60262

Added pre-configured versions of SDL_config.h for various platforms
author Sam Lantinga <slouken@libsdl.org>
date Fri, 24 Feb 2006 07:26:31 +0000
parents 39ca9a4b22f3
children 11134dc42da8
comparison
equal deleted inserted replaced
1421:638da75f9ab8 1422:d2ee8da60262
28 #if defined(_AIX) 28 #if defined(_AIX)
29 #undef __AIX__ 29 #undef __AIX__
30 #define __AIX__ 1 30 #define __AIX__ 1
31 #endif 31 #endif
32 #if defined(AMIGA) || defined(__AMIGA) || defined(__amigados__) 32 #if defined(AMIGA) || defined(__AMIGA) || defined(__amigados__)
33 /* FIXME: is this the right test for AmigaOS? */
34 #undef __AMIGA__ 33 #undef __AMIGA__
35 #define __AMIGA__ 1 34 #define __AMIGA__ 1
36 #endif 35 #endif
37 #if defined(__BEOS__) 36 #if defined(__BEOS__)
38 #undef __BEOS__ 37 #undef __BEOS__
41 #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__) 40 #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
42 #undef __BSDI__ 41 #undef __BSDI__
43 #define __BSDI__ 1 42 #define __BSDI__ 1
44 #endif 43 #endif
45 #if defined(DREAMCAST) 44 #if defined(DREAMCAST)
46 /* FIXME: is this the right test for Dreamcast? */
47 #undef __DREAMCAST__ 45 #undef __DREAMCAST__
48 #define __DREAMCAST__ 1 46 #define __DREAMCAST__ 1
49 #endif 47 #endif
50 #if defined(__FreeBSD__) 48 #if defined(__FreeBSD__)
51 #undef __FREEBSD__ 49 #undef __FREEBSD__
95 #if defined(riscos) || defined(__riscos) || defined(__riscos__) 93 #if defined(riscos) || defined(__riscos) || defined(__riscos__)
96 #undef __RISCOS__ 94 #undef __RISCOS__
97 #define __RISCOS__ 1 95 #define __RISCOS__ 1
98 #endif 96 #endif
99 #if defined(solaris) || defined(__solaris) || defined(__solaris__) 97 #if defined(solaris) || defined(__solaris) || defined(__solaris__)
100 /* FIXME: is this the right test for Solaris? Check SDL_sunaudio.c */
101 #undef __SOLARIS__ 98 #undef __SOLARIS__
102 #define __SOLARIS__ 1 99 #define __SOLARIS__ 1
103 #endif 100 #endif
104 #if defined(WIN32) || defined(_WIN32) 101 #if defined(WIN32) || defined(_WIN32)
105 #undef __WIN32__ 102 #undef __WIN32__