]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Use our usual defines for detecting the OS type
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Jun 2006 06:14:34 +0000 (06:14 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 6 Jun 2006 06:14:34 +0000 (06:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6420 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 8533991a62ac01d2c343093174a72f30824258d0..a07ef4aabbe1037275242262bbc9cdbdd9ca22a3 100644 (file)
@@ -2007,9 +2007,9 @@ void VM_getostype(void)
        OS_MAC - not supported
        */
 
-#ifdef _WIN32
+#ifdef WIN32
        PRVM_G_FLOAT(OFS_RETURN) = 0;
-#elif defined _MAC
+#elif defined(MACOSX)
        PRVM_G_FLOAT(OFS_RETURN) = 2;
 #else
        PRVM_G_FLOAT(OFS_RETURN) = 1;