]> 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 0b26209305ef8de71a78763adb62075afbc79fe2..8344f3880e0fa2d5f54c1b1fd4d2fa46ba8b6bc9 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   Copyright (C) 1999-2007 id Software, Inc. and contributors.
+   Copyright (C) 1999-2006 Id Software, Inc. and contributors.
    For a list of contributors, see the accompanying CONTRIBUTORS file.
 
    This file is part of GtkRadiant.
  */
 // 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