Mesa (mesa_7_7_branch): scons: Target Windows7.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Feb 12 14:19:41 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: fea7a70a1a7cc7e5d2f6343451c48291a70dc94d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fea7a70a1a7cc7e5d2f6343451c48291a70dc94d

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Feb 12 13:22:59 2010 +0000

scons: Target Windows7.

---

 scons/gallium.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scons/gallium.py b/scons/gallium.py
index 2d963a5..633b86b 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -255,8 +255,9 @@ 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',
         ]




More information about the mesa-commit mailing list