From 2d6d7c885123fa8dea8d69d1bcce24416bd28c22 Mon Sep 17 00:00:00 2001 From: Wanne Date: Sun, 7 Dec 2008 15:38:29 +0000 Subject: [PATCH] Source Code compiles now with VS 2005 and VS 2008 without making any changes. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2448 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Standard Gaming Platform/input.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Standard Gaming Platform/input.cpp b/Standard Gaming Platform/input.cpp index 36b71def..5ff7efda 100644 --- a/Standard Gaming Platform/input.cpp +++ b/Standard Gaming Platform/input.cpp @@ -1,5 +1,7 @@ -// VS2008: If compiling with VS2008 disable the next line! -#define _WIN32_WINNT WINVER +// WANNE: Only include _WIN32_WINNT WINVER in VS versions <= 2005 +#if _MSC_VER < 1500 + #define _WIN32_WINNT WINVER +#endif #ifdef JA2_PRECOMPILED_HEADERS #include "JA2 SGP ALL.H"