summaryrefslogtreecommitdiff
path: root/common.py
diff options
context:
space:
mode:
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