summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-05-27 11:10:43 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-05-27 11:10:43 -0400
commitca68d116e055dfc34ca2d75a48cd7988af148b04 (patch)
tree2ab6b0ba2044bc2f9b54d10bbba1c430392b9bbb
parentb745f4457ebbb463f1788bda327928d9f669ea51 (diff)
downloadcmake-ca68d116e055dfc34ca2d75a48cd7988af148b04.tar.gz
ENH: fix for building with VS 2010 make/nmake
-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 b939926da1..ff1a2d301f 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