diff options
author | Tobias Markmann <tm@ayena.de> | 2014-10-16 09:31:55 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-10-16 16:09:49 (GMT) |
commit | c02aedbe59a3abc2a7b84b7e1a8bf3a7f11ee20f (patch) | |
tree | 7d8702318423434e89cbf70bbbd563ba5d46eacd /Swiften/SConscript | |
parent | 80a0e4117219a196f9f2c09e243713b26ead763f (diff) | |
download | swift-c02aedbe59a3abc2a7b84b7e1a8bf3a7f11ee20f.zip swift-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 'Swiften/SConscript')
-rw-r--r-- | Swiften/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript index a37767c..29298ca 100644 --- a/Swiften/SConscript +++ b/Swiften/SConscript @@ -76,6 +76,9 @@ if env["SCONS_STAGE"] == "flags" : "FRAMEWORKS": e.get("FRAMEWORKS", []), } + if env["PLATFORM"] == "win32" : + env.Append(CPPDEFINES = [("_WIN32_WINNT","_WIN32_WINNT_VISTA") , ("NTDDI_VERSION","NTDDI_VISTA")]) + ################################################################################ # Build ################################################################################ |