]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/cmdlib.c
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / tools / quake3 / common / cmdlib.c
index e2ea8f0afc5963966175885715f0108e3c428b33..24c9811f638a44a434c30f332ce84954a3a2c31b 100644 (file)
@@ -333,7 +333,7 @@ void Q_getwd (char *out)
 {
        int i = 0;
 
-#ifdef _WIN32
+#ifdef WIN32
    _getcwd (out, 256);
    strcat (out, "\\");
 #else
@@ -352,7 +352,7 @@ void Q_getwd (char *out)
 
 void Q_mkdir (const char *path)
 {
-#ifdef _WIN32
+#ifdef WIN32
        if (_mkdir (path) != -1)
                return;
 #else
@@ -1144,7 +1144,7 @@ void QCopyFile (const char *from, const char *to)
 
 void Sys_Sleep(int n)
 {
-#ifdef _WIN32
+#ifdef WIN32
   Sleep (n);
 #endif
 #if defined (__linux__) || defined (__APPLE__)