]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/misc.h
Centralise compile checks
[xonotic/netradiant.git] / contrib / camera / misc.h
index 6e226d33f5e4a1a8e5e42366139aff8b51091ea6..9b3f71b7d67e8b51a19a87b9a1bbb5bfb54b718b 100644 (file)
@@ -24,6 +24,8 @@
    Copyright (C) 2002 Splash Damage Ltd.
  */
 
+#include "globaldefs.h"
+
 void Sys_ERROR( char* text, ... );
 char* UnixToDosPath( char* path );
 void ExtractFilePath( const char *path, char *dest );
@@ -40,7 +42,7 @@ void Cbuf_Execute( void );
 
 // common
 #ifndef CDECL
-#ifdef WIN32
+#if GDEF_OS_WINDOWS
        #define CDECL __cdecl
 #else
        #define CDECL