summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-16 09:31:55 (GMT)
committerSwift Review <review@swift.im>2014-10-16 16:09:49 (GMT)
commitc02aedbe59a3abc2a7b84b7e1a8bf3a7f11ee20f (patch)
tree7d8702318423434e89cbf70bbbd563ba5d46eacd /3rdParty
parent80a0e4117219a196f9f2c09e243713b26ead763f (diff)
downloadswift-contrib-c02aedbe59a3abc2a7b84b7e1a8bf3a7f11ee20f.zip
swift-contrib-c02aedbe59a3abc2a7b84b7e1a8bf3a7f11ee20f.tar.bz2
Specify minimal Windows API version for Windows builds.
This sets _WIN32_WINNT and NTDDI_VERSION defines. The minimal version required is Windows Vista since smart card support requires this version. Test-Information: With these defines Swift/-en builds successfully on Windows 8.1 with VisualStudio Express 2013 for Desktop. Change-Id: I8745f201559cd9c401caef7661f09939dffae38f
Diffstat (limited to '3rdParty')
-rw-r--r--3rdParty/Boost/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdParty/Boost/SConscript b/3rdParty/Boost/SConscript
index adb6d4e..a0d6500 100644
--- a/3rdParty/Boost/SConscript
+++ b/3rdParty/Boost/SConscript
@@ -40,7 +40,7 @@ elif env.get("BOOST_BUNDLED", False) :
"LIBS": ["Swiften_Boost"]
}
if env["PLATFORM"] == "win32" :
- env["BOOST_FLAGS"]["CPPDEFINES"] += [("_WIN32_WINNT", "0x0501")]
+ env["BOOST_FLAGS"]["CPPDEFINES"] += [("_WIN32_WINNT", "_WIN32_WINNT_VISTA")]
if env["PLATFORM"] == "cygwin" :
env["BOOST_FLAGS"]["CPPDEFINES"] += ["__USE_W32_SOCKETS"]