From 64ae209d50e2d28f46a3f0c6880e40e94ba23569 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Mon, 16 Jan 2012 12:42:05 +0000 Subject: scons: Add Haiku build support Enables building stock Mesa under the Haiku operating system. --- scons/gallium.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scons/gallium.py') diff --git a/scons/gallium.py b/scons/gallium.py index 221d1848f6d..5a0c6fef13c 100755 --- 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'] + if platform == 'haiku': + cppdefines += ['BEOS_THREADS'] if env['embedded']: cppdefines += ['PIPE_SUBSYSTEM_EMBEDDED'] env.Append(CPPDEFINES = cppdefines) -- cgit v1.2.3