From 5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Wed, 6 Jun 2012 15:05:01 +0000 Subject: Another piece of the VS2012 compatibility puzzle --- Magic2/StdAfx.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Magic2') diff --git a/Magic2/StdAfx.h b/Magic2/StdAfx.h index 67f99f5..d6a3e3a 100644 --- a/Magic2/StdAfx.h +++ b/Magic2/StdAfx.h @@ -13,7 +13,11 @@ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #define WIN32_LEAN_AND_MEAN +#if _MSC_VER <= 1600 #define _WIN32_WINNT 0x0502 // XP is the lowest supported OS +#else +#define _WIN32_WINNT 0x0600 // VS2012 does not support XP, 0x0600 is Vista +#endif #include // MFC core and standard components #include // MFC extensions -- cgit v1.1