summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-06-06 15:05:01 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-06-06 15:05:01 +0000
commit5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22 (patch)
tree7a4f2187e37291374ccc1641e0d4375f74d6618f
parent8acd4f2f417d8c9875ea4149d198f94a37e5407c (diff)
downloadstarshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.zip
starshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.tar.gz
starshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.tar.bz2
Another piece of the VS2012 compatibility puzzle
-rw-r--r--Magic2/StdAfx.h4
1 files changed, 4 insertions, 0 deletions
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 <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions