diff options
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/make_vcxproj.py | 1 | ||||
-rw-r--r-- | buildscripts/vcxproj.header | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/buildscripts/make_vcxproj.py b/buildscripts/make_vcxproj.py index bc8687c9bed..3694e4ea417 100644 --- a/buildscripts/make_vcxproj.py +++ b/buildscripts/make_vcxproj.py @@ -63,6 +63,7 @@ common_defines.add("_DEBUG") common_defines.add("V8_TARGET_ARCH_X64") common_defines.add("V8_TARGET_ARCH_IA32") common_defines.add("NTDDI_VERSION") +common_defines.add("_WIN32_WINNT") machine_path = "" diff --git a/buildscripts/vcxproj.header b/buildscripts/vcxproj.header index c1fdc2fa759..e91891f11b5 100644 --- a/buildscripts/vcxproj.header +++ b/buildscripts/vcxproj.header @@ -157,14 +157,14 @@ <!-- SRW / Windows2008+ --> <ItemDefinitionGroup Condition="'$(Configuration)'=='Win2008PlusRelease' Or '(Configuration)'=='Win2008PlusDebug'"> <ClCompile> - <PreprocessorDefinitions>NTDDI_VERSION=0x06010000</PreprocessorDefinitions> + <PreprocessorDefinitions>NTDDI_VERSION=0x06010000;_WIN32_WINNT=0x0601</PreprocessorDefinitions> </ClCompile> </ItemDefinitionGroup> <!-- legacy --> <ItemDefinitionGroup Condition="'$(Configuration)'=='Release' Or '(Configuration)'=='Debug'"> <ClCompile> - <PreprocessorDefinitions>NTDDI_VERSION=0x05020200</PreprocessorDefinitions> + <PreprocessorDefinitions>NTDDI_VERSION=0x05020200;_WIN32_WINNT=0x0502</PreprocessorDefinitions> </ClCompile> </ItemDefinitionGroup> |