aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-08-21 14:59:17 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-08-20 17:55:06 +0000
commit1ccb9f30c040daf688f89f0d63e9f5e7b131d193 (patch)
tree73b4f95461bf51ca05018d2a823fe437bd7c5172 /configure.ac
parente9b30126545d6ddd8772363e4079d1e4908ad117 (diff)
Move Win32 defines to configure.ac to ensure they are globally defined
common.vcxproj used for MSVC builds
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 3ab97eb531..e4049ca97a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -604,7 +604,7 @@ case $host in
AC_MSG_ERROR("windres not found")
fi
- CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601"
+ CPPFLAGS="$CPPFLAGS -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -D_WIN32_WINNT=0x0601 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN"
dnl libtool insists upon adding -nostdlib and a list of objects/libs to link against.
dnl That breaks our ability to build dll's with static libgcc/libstdc++/libssp. Override