Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/include/SDL_platform.h Tue Feb 17 05:25:25 2009 +0000 +++ b/include/SDL_platform.h Tue Mar 17 03:58:53 2009 +0000 @@ -33,6 +33,10 @@ #undef __BEOS__ #define __BEOS__ 1 #endif +#if defined(__HAIKU__) +#undef __HAIKU__ +#define __HAIKU__ 1 +#endif #if defined(bsdi) || defined(__bsdi) || defined(__bsdi__) #undef __BSDI__ #define __BSDI__ 1 @@ -45,6 +49,10 @@ #undef __FREEBSD__ #define __FREEBSD__ 1 #endif +#if defined(__HAIKU__) +#undef __HAIKU__ +#define __HAIKU__ 1 +#endif #if defined(hpux) || defined(__hpux) || defined(__hpux__) #undef __HPUX__ #define __HPUX__ 1