summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scons/gallium.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 59ec6eccf8a..1136d269089 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -221,6 +221,8 @@ def generate(env):
'_WINDOWS',
'_UNICODE',
'UNICODE',
+ ('_WIN32_WINNT', '0x0501'), # minimum required OS version
+ ('WINVER', '0x0501'),
# http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx,
'WIN32_LEAN_AND_MEAN',
'VC_EXTRALEAN',