diff options
author | Dwight <dwight@10gen.com> | 2013-12-02 14:37:11 -0500 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2013-12-13 12:16:08 -0500 |
commit | afeae9cf7d3bfd96166f221fe8c64c9e194b0621 (patch) | |
tree | 6362946dcbaffee859f104e7a3cff24758dd6408 | |
parent | c90068fa13ef447dc1a67f6c6603bcb177931b14 (diff) | |
download | mongo-afeae9cf7d3bfd96166f221fe8c64c9e194b0621.tar.gz |
make_vcxproj make it _WIN32_WINNT preprocessor define aware
-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> |