summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r--Swiften/SConscript3
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
################################################################################