projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scons: Add Haiku build support
[mesa.git]
/
scons
/
gallium.py
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 221d1848f6dc646ff80438041c1f6065ee9ef42d..5a0c6fef13c175b0069afa3492ad93980e09a9cf 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-289,6
+289,8
@@
def generate(env):
cppdefines += ['_DEBUG']
if platform == 'windows':
cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_USER']
cppdefines += ['_DEBUG']
if platform == 'windows':
cppdefines += ['PIPE_SUBSYSTEM_WINDOWS_USER']
+ if platform == 'haiku':
+ cppdefines += ['BEOS_THREADS']
if env['embedded']:
cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED']
env.Append(CPPDEFINES = cppdefines)
if env['embedded']:
cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED']
env.Append(CPPDEFINES = cppdefines)