aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c4b1d63bfe..8d7334ab64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -485,7 +485,7 @@ case $host in
AC_MSG_ERROR("windres not found")
fi
- CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB"
+ CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601"
LEVELDB_TARGET_FLAGS="-DOS_WINDOWS"
if test "x$CXXFLAGS_overridden" = "xno"; then
CXXFLAGS="$CXXFLAGS -w"