]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/referencecache.cpp
Centralise compile checks
[xonotic/netradiant.git] / radiant / referencecache.cpp
index ee3ab8061e17f4a16201458e6b66d641cfb4eef0..8cd9eb2001d93a7fab6490fe838848b493f32a57 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "referencecache.h"
+#include "globaldefs.h"
 
 #include "debugging/debugging.h"
 
@@ -206,7 +207,7 @@ NodeSmartReference ModelResource_load( ModelLoader* loader, const char* name ){
 
 
 inline hash_t path_hash( const char* path, hash_t previous = 0 ){
-#if defined( WIN32 )
+#if GDEF_OS_WINDOWS
        return string_hash_nocase( path, previous );
 #else // UNIX
        return string_hash( path, previous );