summaryrefslogtreecommitdiff
path: root/src/SDL.c
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2013-07-05 01:09:27 -0400
committerRyan C. Gordon <icculus@icculus.org>2013-07-05 01:09:27 -0400
commite749bdffe75fffb27fdd6279a8eaabdf8fa7338a (patch)
tree893c3ba7f842ffb0d8c27dada8d12dbbdc244418 /src/SDL.c
parent6ca14bb9d248a0a76734c9c9ff0c50a27f5113fe (diff)
Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!).
Fixes Bugzilla #1773.
Diffstat (limited to 'src/SDL.c')
-rw-r--r--src/SDL.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/SDL.c b/src/SDL.c
index f6f3dec696..bc3fe1079c 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -371,9 +371,6 @@ SDL_GetPlatform()
return "AIX";
#elif __ANDROID__
return "Android";
-#elif __HAIKU__
-/* Haiku must appear here before BeOS, since it also defines __BEOS__ */
- return "Haiku";
#elif __BEOS__
return "BeOS";
#elif __BSDI__
@@ -382,6 +379,8 @@ SDL_GetPlatform()
return "Dreamcast";
#elif __FREEBSD__
return "FreeBSD";
+#elif __HAIKU__
+ return "Haiku";
#elif __HPUX__
return "HP-UX";
#elif __IRIX__