]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
move iphone detection above macosx detection
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 18 Apr 2011 15:38:32 +0000 (15:38 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 19 Apr 2011 16:31:50 +0000 (18:31 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11064 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=0117364e01ec58a02c71673d1b90f6b355a7cf3a

quakedef.h

index d5688a77e71143198e6d5cde9493e6f753575c2d..d06f77679edc40e9a3c6d9dbe02822e8f2f3f788 100644 (file)
@@ -429,17 +429,17 @@ extern cvar_t developer_loading;
 #elif defined(__OpenBSD__)
 # define DP_OS_NAME            "OpenBSD"
 # define DP_OS_STR             "openbsd"
+#elif defined(TARGET_OS_IPHONE)
+# define DP_OS_NAME            "iPhoneOS"
+# define DP_OS_STR             "iphoneos"
+# define USE_GLES2             1
+#else
 #elif defined(MACOSX)
 # define DP_OS_NAME            "Mac OS X"
 # define DP_OS_STR             "osx"
 #elif defined(__MORPHOS__)
 # define DP_OS_NAME            "MorphOS"
 # define DP_OS_STR             "morphos"
-#elif defined(TARGET_OS_IPHONE)
-# define DP_OS_NAME            "iPhoneOS"
-# define DP_OS_STR             "iphoneos"
-# define USE_GLES2             1
-#else
 # define DP_OS_NAME            "Unknown"
 #endif