]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/sunplug/sunplug.cpp
Centralise compile checks
[xonotic/netradiant.git] / contrib / sunplug / sunplug.cpp
index a6928537ee9119782e76ea9894399429a745a0f4..afa4b20d821e46c5a3de2214a30ba0eb2f17731f 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include "sunplug.h"
+#include "globaldefs.h"
 
 #include "debugging/debugging.h"
 
@@ -39,7 +40,7 @@
 void about_plugin_window();
 void MapCoordinator();
 
-#ifndef _WIN32
+#if !GDEF_OS_WINDOWS
 // linux itoa implementation
 char* itoa( int value, char* result, int base ){
        // check that the base if valid