]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/cmdlib.h
allow undo “make detail/structural”, <3 @SpiKe, thanks @Garux, fix #76
[xonotic/netradiant.git] / libs / cmdlib.h
index 843dee76368813bf469914e77d7c5d7f8ef2c2d7..abdc15a6fd3cfd6d4d2da873c2f65d58d0c54713 100644 (file)
@@ -26,6 +26,7 @@
 #ifndef __CMDLIB__
 #define __CMDLIB__
 
+#include "globaldefs.h"
 #include <time.h>
 
 
@@ -78,7 +79,7 @@ bool Q_Exec( const char *cmd, char *cmdline, const char *execdir, bool bCreateCo
 
 // Q_mkdir
 // returns true if succeeded in creating directory
-#ifdef WIN32
+#if GDEF_OS_WINDOWS
 #include <direct.h>
 inline bool Q_mkdir( const char* name ){
        return _mkdir( name ) != -1;