aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/common.vcxproj
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-12-13 18:24:30 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2019-01-23 16:28:27 +0800
commit1bd9ffdd44000b208d29d35451f4dc9f1ac9318f (patch)
treea2f891b8606a0833f14914eb7235e923038480ff /build_msvc/common.vcxproj
parent82cf6813a4ef1b4a5439eb6cddb1ab426f3c31a2 (diff)
downloadbitcoin-1bd9ffdd44000b208d29d35451f4dc9f1ac9318f.tar.xz
windows: Set _WIN32_WINNT to 0x0601 (Windows 7)
Also remove all defines in many places and define it in configure stage to keep consistency.
Diffstat (limited to 'build_msvc/common.vcxproj')
-rw-r--r--build_msvc/common.vcxproj1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_msvc/common.vcxproj b/build_msvc/common.vcxproj
index c7c20622e4..a9fb0c8916 100644
--- a/build_msvc/common.vcxproj
+++ b/build_msvc/common.vcxproj
@@ -17,6 +17,7 @@
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
<DisableSpecificWarnings>4018;4244;4267;4715;4805;</DisableSpecificWarnings>
<TreatWarningAsError>true</TreatWarningAsError>
+ <PreprocessorDefinitions>_WIN32_WINNT=0x0601;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
</Project>