aboutsummaryrefslogtreecommitdiff
path: root/build_msvc
diff options
context:
space:
mode:
authorChun Kuan Lee <[email protected]>2018-12-13 18:24:30 +0800
committerChun Kuan Lee <[email protected]>2019-01-23 16:28:27 +0800
commit1bd9ffdd44000b208d29d35451f4dc9f1ac9318f (patch)
treea2f891b8606a0833f14914eb7235e923038480ff /build_msvc
parentMerge #14353: REST: add blockhash call, fetch blockhash by height (diff)
downloaddiscoin-1bd9ffdd44000b208d29d35451f4dc9f1ac9318f.tar.xz
discoin-1bd9ffdd44000b208d29d35451f4dc9f1ac9318f.zip
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')
-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 c7c20622e..a9fb0c891 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>