From ca68d116e055dfc34ca2d75a48cd7988af148b04 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 27 May 2009 11:10:43 -0400 Subject: ENH: fix for building with VS 2010 make/nmake --- Source/MFCDialog/StdAfx.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v0.12