From c314f29290812521826c16efedad0b9ff71e768a Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 19 Dec 2010 16:34:35 +0000 Subject: [PATCH] * Use correct compiler defines for OS detection on Windows --- code/qcommon/q_platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index 65f1fb2c..46758ed4 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -74,7 +74,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA //================================================================= WIN64/32 === -#ifdef __WIN64__ +#if defined(_WIN64) || defined(__WIN64__) #undef QDECL #define QDECL __cdecl @@ -98,7 +98,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define DLL_EXT ".dll" -#elif __WIN32__ +#elif defined(_WIN32) || defined(__WIN32__) #undef QDECL #define QDECL __cdecl