diff options
Diffstat (limited to 'scons/gallium.py')
-rwxr-xr-x | scons/gallium.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scons/gallium.py b/scons/gallium.py index f505a62..e11d4db 100755 --- 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', |