projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
haiku: Fix build through scons corrections and viewport fixes
[mesa.git]
/
scons
/
gallium.py
diff --git
a/scons/gallium.py
b/scons/gallium.py
index f505a62be566aaa1b7a7c31946d09e1cb0311491..e11d4dba312e9a5f9e1aa82b773de9ceabf13d19 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-269,6
+269,11
@@
def generate(env):
cppdefines += ['HAVE_ALIAS']
else:
cppdefines += ['GLX_ALIAS_UNSUPPORTED']
+ if env['platform'] == 'haiku':
+ cppdefines += [
+ 'HAVE_PTHREAD',
+ 'HAVE_POSIX_MEMALIGN'
+ ]
if platform == 'windows':
cppdefines += [
'WIN32',