]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/q2map/q2map.h
Centralise compile checks
[xonotic/netradiant.git] / tools / quake2 / q2map / q2map.h
index 401e6f740072129a2dae00806a9b28f6c0e8ac7a..8344f3880e0fa2d5f54c1b1fd4d2fa46ba8b6bc9 100644 (file)
  */
 // q2map.h
 
+#include "globaldefs.h"
+
 /* platform-specific */
-#if defined( __linux__ ) || defined( __APPLE__ )
+#if GDEF_OS_LINUX || GDEF_OS_MACOS
        #define Q_UNIX
 #endif
 
@@ -31,7 +33,7 @@
        #include <limits.h>
 #endif
 
-#ifdef WIN32
+#if GDEF_OS_WINDOWS
        #include <windows.h>
 #endif