scons: Target Windows XP on userspace.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 1 Dec 2008 19:53:26 +0000 (11:53 -0800)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Mon, 1 Dec 2008 19:53:26 +0000 (11:53 -0800)
scons/gallium.py

index 59ec6eccf8a15053a56bde8d43b26bedddedbe79..1136d269089da4cbdee9bbe1d401815fae345508 100644 (file)
@@ -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',