diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-12-31 20:19:18 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-01-01 12:16:19 +0000 |
commit | 3d747eded475b227cc025391d0438a5dd1357cb9 (patch) | |
tree | a28aa33f87abddc093684d28a92a90563eb9e17b /scons | |
parent | 33f44b93d26a1d0c2c15a2613b07510825bc1d54 (diff) |
scons: Don't globally define WIN32_LEAN_AND_MEAN.
Some of the demo progams legitimately need the functionality
that's disabled by WIN32_LEAN_AND_MEAN.
Instead the solution should be to define WIN32_LEAN_AND_MEAN just before
including windows.h on a case by case basis.
Diffstat (limited to 'scons')
-rw-r--r-- | scons/gallium.py | 2 | ||||
-rw-r--r-- | scons/generic.py | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index 61334f71c7..f24959c120 100644 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -153,8 +153,6 @@ def generate(env): #'UNICODE', ('_WIN32_WINNT', '0x0501'), # minimum required OS version ('WINVER', '0x0501'), - # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx, - 'WIN32_LEAN_AND_MEAN', ] if msvc and env['toolchain'] != 'winddk': cppdefines += [ diff --git a/scons/generic.py b/scons/generic.py index 208e3b6526..149256c3db 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -228,8 +228,6 @@ def generate(env): '_WINDOWS', #'_UNICODE', #'UNICODE', - # http://msdn2.microsoft.com/en-us/library/6dwk3a1z.aspx, - #'WIN32_LEAN_AND_MEAN', ] if msvc: cppdefines += [ |