From 57617c8eba7093be3da9d818389ef5f18246e4ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 12 Feb 2010 13:22:59 +0000 Subject: [PATCH] scons: Target Windows7. --- scons/gallium.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index a40a9571915..15aa94448c7 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -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 += [ -- 2.30.2