]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/qdata_heretic2/common/cmdlib.c
ported over the 1.5 branch version of q3map2 which is newer
[xonotic/netradiant.git] / tools / quake2 / qdata_heretic2 / common / cmdlib.c
index c5f5c3a679ae328e611f261c4eaf673ee2aa8614..104a61b8cea391e8b79f6722f6338f9145bb2725 100644 (file)
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <sys/types.h>
 #include <sys/stat.h>
 
-#ifdef _WIN32
+#ifdef WIN32
 #include <direct.h>
 #include <windows.h>
 #endif
@@ -356,7 +356,7 @@ void Q_getwd (char *out)
 {
        int i = 0;
 
-#ifdef _WIN32
+#ifdef WIN32
    _getcwd (out, 256);
    strcat (out, "\\");
 #else
@@ -375,7 +375,7 @@ void Q_getwd (char *out)
 
 void Q_mkdir (const char *path)
 {
-#ifdef _WIN32
+#ifdef WIN32
        if (_mkdir (path) != -1)
                return;
 #else
@@ -1229,7 +1229,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__)