summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-12 13:22:59 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-12 23:38:19 +0000
commit57617c8eba7093be3da9d818389ef5f18246e4ca (patch)
tree0a1b424553012207ad1508056529552398186f2e
parentff37205f93eaf888e12c6587b8c7cd17d890c4e0 (diff)
downloadexternal_mesa3d-57617c8eba7093be3da9d818389ef5f18246e4ca.zip
external_mesa3d-57617c8eba7093be3da9d818389ef5f18246e4ca.tar.gz
external_mesa3d-57617c8eba7093be3da9d818389ef5f18246e4ca.tar.bz2
scons: Target Windows7.
-rw-r--r--scons/gallium.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index a40a957..15aa944 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 += [