Mesa (gallium-0.1): scons: Target Windows XP on userspace.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Dec 8 08:26:00 UTC 2008


Module: Mesa
Branch: gallium-0.1
Commit: 129c6ed67807db5d1d5ec4bc09bcc32bc5a329d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=129c6ed67807db5d1d5ec4bc09bcc32bc5a329d4

Author: José Fonseca <jrfonseca at tungstengraphics.com>
Date:   Mon Dec  1 11:53:26 2008 -0800

scons: Target Windows XP on userspace.

---

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

diff --git a/scons/gallium.py b/scons/gallium.py
index 59ec6ec..1136d26 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -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',




More information about the mesa-commit mailing list