test/testplatform.c
branchSDL-1.2
changeset 4215 d83830711a5b
parent 4164 7a4c511c980a
child 5637 d39fe8e7d26a
--- a/test/testplatform.c	Mon Sep 21 08:58:51 2009 +0000
+++ b/test/testplatform.c	Mon Sep 21 09:18:42 2009 +0000
@@ -154,6 +154,9 @@
 		printf("This system is running %s\n",
 #if __AIX__
 			"AIX"
+#elif __HAIKU__
+/* Haiku must appear here before BeOS, since it also defines __BEOS__ */
+			"Haiku"
 #elif __BEOS__
 			"BeOS"
 #elif __BSDI__
@@ -162,8 +165,6 @@
 			"Dreamcast"
 #elif __FREEBSD__
 			"FreeBSD"
-#elif __HAIKU__
-			"Haiku"
 #elif __HPUX__
 			"HP-UX"
 #elif __IRIX__