comparison include/SDL_platform.h @ 4164:7a4c511c980a SDL-1.2

Date: Fri, 6 Mar 2009 12:41:17 -0800 From: scott mc Subject: Re: [SDL] patch for building on haiku Ok. I've combined the various Haiku patches for the SDL-1.2 branch into one .diff file
author Sam Lantinga <slouken@libsdl.org>
date Tue, 17 Mar 2009 03:58:53 +0000
parents a1b03ba2fcd0
children 4c4113c2162c
comparison
equal deleted inserted replaced
4163:bec67d0b6645 4164:7a4c511c980a
31 #endif 31 #endif
32 #if defined(__BEOS__) 32 #if defined(__BEOS__)
33 #undef __BEOS__ 33 #undef __BEOS__
34 #define __BEOS__ 1 34 #define __BEOS__ 1
35 #endif 35 #endif
36 #if defined(__HAIKU__)
37 #undef __HAIKU__
38 #define __HAIKU__ 1
39 #endif
36 #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__) 40 #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
37 #undef __BSDI__ 41 #undef __BSDI__
38 #define __BSDI__ 1 42 #define __BSDI__ 1
39 #endif 43 #endif
40 #if defined(_arch_dreamcast) 44 #if defined(_arch_dreamcast)
42 #define __DREAMCAST__ 1 46 #define __DREAMCAST__ 1
43 #endif 47 #endif
44 #if defined(__FreeBSD__) || defined(__DragonFly__) 48 #if defined(__FreeBSD__) || defined(__DragonFly__)
45 #undef __FREEBSD__ 49 #undef __FREEBSD__
46 #define __FREEBSD__ 1 50 #define __FREEBSD__ 1
51 #endif
52 #if defined(__HAIKU__)
53 #undef __HAIKU__
54 #define __HAIKU__ 1
47 #endif 55 #endif
48 #if defined(hpux) || defined(__hpux) || defined(__hpux__) 56 #if defined(hpux) || defined(__hpux) || defined(__hpux__)
49 #undef __HPUX__ 57 #undef __HPUX__
50 #define __HPUX__ 1 58 #define __HPUX__ 1
51 #endif 59 #endif