From adb657fc5f7f9b5823bbfac08bf229c6f6e16157 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Fri, 10 Dec 2010 03:54:02 -0500 Subject: [PATCH] Bump _WIN32_WINNT to 0x0501, since that's what the compiler recommends to do when it complains about a value that is too low. This complaint happens when building with 2010 -- I resolved these complaints (here and in mysterx) by adding the definition to the vcxproj files, but the 3m compilation still needs it. For the record, the error text is: C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE\atlcore.h(35) : fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended. --- src/mzcom/stdafx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mzcom/stdafx.h b/src/mzcom/stdafx.h index 478cbb029b..77990381cd 100644 --- a/src/mzcom/stdafx.h +++ b/src/mzcom/stdafx.h @@ -11,7 +11,7 @@ #define STRICT #ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0400 +#define _WIN32_WINNT 0x0501 #endif #define _ATL_APARTMENT_THREADED