summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-05-27 15:10:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-05-27 15:10:43 (GMT)
commitca68d116e055dfc34ca2d75a48cd7988af148b04 (patch)
tree2ab6b0ba2044bc2f9b54d10bbba1c430392b9bbb /Source
parentb745f4457ebbb463f1788bda327928d9f669ea51 (diff)
downloadCMake-ca68d116e055dfc34ca2d75a48cd7988af148b04.zip
CMake-ca68d116e055dfc34ca2d75a48cd7988af148b04.tar.gz
CMake-ca68d116e055dfc34ca2d75a48cd7988af148b04.tar.bz2
ENH: fix for building with VS 2010 make/nmake
Diffstat (limited to 'Source')
-rw-r--r--Source/MFCDialog/StdAfx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/MFCDialog/StdAfx.h b/Source/MFCDialog/StdAfx.h
index b939926..ff1a2d3 100644
--- a/Source/MFCDialog/StdAfx.h
+++ b/Source/MFCDialog/StdAfx.h
@@ -21,7 +21,11 @@
#if !defined(AFX_STDAFX_H__AC17A6F8_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_)
#define AFX_STDAFX_H__AC17A6F8_4634_11D4_8F21_00A0CC33FCD3__INCLUDED_
+#if _MSC_VER < 1600
#define _WIN32_WINNT 0x0400
+#else
+#define _WIN32_WINNT 0x0500
+#endif
#define _WIN32_IE 0x0400
#if _MSC_VER > 1000