diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-06-06 15:05:01 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-06-06 15:05:01 +0000 |
commit | 5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22 (patch) | |
tree | 7a4f2187e37291374ccc1641e0d4375f74d6618f /Magic2/StdAfx.h | |
parent | 8acd4f2f417d8c9875ea4149d198f94a37e5407c (diff) | |
download | starshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.zip starshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.tar.gz starshatter-5f832ca54a8acc3ba91b8b3dcdbfe72a64333a22.tar.bz2 |
Another piece of the VS2012 compatibility puzzle
Diffstat (limited to 'Magic2/StdAfx.h')
-rw-r--r-- | Magic2/StdAfx.h | 4 |
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
|