scons: Target Windows7.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Feb 2010 13:22:59 +0000 (13:22 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Feb 2010 23:38:19 +0000 (23:38 +0000)
scons/gallium.py

index a40a95719153157611032a149bb525aaee2624f0..15aa94448c7bb6501737b8b80bae19c0e6198481 100644 (file)
@@ -177,8 +177,11 @@ def generate(env):
             '_WINDOWS',
             #'_UNICODE',
             #'UNICODE',
-            ('_WIN32_WINNT', '0x0501'), # minimum required OS version
-            ('WINVER', '0x0501'),
+            # http://msdn.microsoft.com/en-us/library/aa383745.aspx
+            ('_WIN32_WINNT', '0x0601'),
+            ('WINVER', '0x0601'),
+            # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx,
+            'WIN32_LEAN_AND_MEAN',
         ]
         if msvc and env['toolchain'] != 'winddk':
             cppdefines += [