aboutsummaryrefslogtreecommitdiff
path: root/mesalib/scons/gallium.py
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-03-25 17:58:27 +0100
committermarha <marha@users.sourceforge.net>2014-03-25 17:58:27 +0100
commitcd9a6bd6dd3acdebd091fabbe9382e0831362ab1 (patch)
tree48bea27f46ecfe20e0cc342752d7bec5b81d402c /mesalib/scons/gallium.py
parentba6115f56f066621a20fa545ddd67721afd35523 (diff)
parent13d96866ca5d0e2be51f20a72da9e0f7032a16ea (diff)
downloadvcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.tar.gz
vcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.tar.bz2
vcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/scons/gallium.py')
-rw-r--r--mesalib/scons/gallium.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py
index f505a62be..e11d4dba3 100644
--- a/mesalib/scons/gallium.py
+++ b/mesalib/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',