From: molivier Date: Tue, 6 Jun 2006 06:14:34 +0000 (+0000) Subject: Use our usual defines for detecting the OS type X-Git-Tag: xonotic-v0.1.0preview~3956 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8d6e18bf98b2cdd0bc5edd08b131312d81bf1a06;p=xonotic%2Fdarkplaces.git Use our usual defines for detecting the OS type git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6420 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/prvm_cmds.c b/prvm_cmds.c index 8533991a..a07ef4aa 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -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;