From af2ef6f5f0db9a3d0d0e172f6c6b51ef494ee4bc Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 19 Dec 2006 04:49:13 +0000 Subject: [PATCH] Make win32/i_system.h compatible with GCC again. SVN r417 (trunk) --- src/win32/i_system.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/win32/i_system.h b/src/win32/i_system.h index 7ccc3e002..1975d4c21 100644 --- a/src/win32/i_system.h +++ b/src/win32/i_system.h @@ -212,8 +212,10 @@ void I_SetWndProc(); // Get/SetWindowLong, meaning they take LONGs and not LONG_PTRs. #ifdef _WIN64 typedef long long WLONG_PTR; -#else +#elif _MSC_VER typedef _W64 long WLONG_PTR; +#else +typedef long WLONG_PTR; #endif // Directory searching routines