summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-12-01 11:53:26 -0800
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-12-01 11:53:26 -0800
commit129c6ed67807db5d1d5ec4bc09bcc32bc5a329d4 (patch)
tree16fed634affb4585c63b713b15d5a14d1e1a60c8 /scons
parent158a5f75d8436facfe8163845a942979899213fe (diff)
scons: Target Windows XP on userspace.
Diffstat (limited to 'scons')
-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',