summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 19:36:53 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 19:46:18 +0900
commit275fc32d588fb6d2b78038f5a97cc2bcd2cd61dc (patch)
tree02646116685d4e08d694c322278214ec3efde1c8 /common.py
parent5463420741744c39849a038b6079a7b46ddcb729 (diff)
gallium: Identify each Windows platform individually from scons.
Diffstat (limited to 'common.py')
-rw-r--r--common.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.py b/common.py
index 8b70e9b426..b6251d3960 100644
--- a/common.py
+++ b/common.py
@@ -210,9 +210,11 @@ def generate(env):
'TEST_EXPORTS' ,
]
if platform == 'windows':
- cppdefines += ['PIPE_SUBSYSTEM_USER']
+ cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_USER']
if platform == 'winddk':
- cppdefines += ['PIPE_SUBSYSTEM_KERNEL']
+ cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_DISPLAY']
+ if platform == 'wince':
+ cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_CE']
env.Append(CPPDEFINES = cppdefines)
# C compiler options