[quake3-commits] r1804 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Dec 19 11:34:36 EST 2010
Author: tma
Date: 2010-12-19 11:34:35 -0500 (Sun, 19 Dec 2010)
New Revision: 1804
Modified:
trunk/code/qcommon/q_platform.h
Log:
* Use correct compiler defines for OS detection on Windows
Modified: trunk/code/qcommon/q_platform.h
===================================================================
--- trunk/code/qcommon/q_platform.h 2010-11-22 07:12:35 UTC (rev 1803)
+++ trunk/code/qcommon/q_platform.h 2010-12-19 16:34:35 UTC (rev 1804)
@@ -74,7 +74,7 @@
//================================================================= WIN64/32 ===
-#ifdef __WIN64__
+#if defined(_WIN64) || defined(__WIN64__)
#undef QDECL
#define QDECL __cdecl
@@ -98,7 +98,7 @@
#define DLL_EXT ".dll"
-#elif __WIN32__
+#elif defined(_WIN32) || defined(__WIN32__)
#undef QDECL
#define QDECL __cdecl
More information about the quake3-commits
mailing list