From: Alexander von Gluck IV Date: Tue, 5 Nov 2013 01:31:26 +0000 (+0000) Subject: mesa: Remove last BEOS checks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c7605685d2b8250b92acf5ce8f6f217bb3f1a12;p=mesa.git mesa: Remove last BEOS checks * Goodbye BeOS, we hardly knew thee * As BeOS was gcc2 only, there was little chance of this being useful. * Doesn't effect Haiku in any meaningful way Reviewed-by: Brian Paul --- diff --git a/include/GL/gl.h b/include/GL/gl.h index d0710bac860..b484b96ce3f 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -36,10 +36,6 @@ * Begin system-specific stuff. */ -#if defined(__BEOS__) -#include /* to get some BeOS-isms */ -#endif - #if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) #define __WIN32__ #endif @@ -65,10 +61,6 @@ # define GLAPIENTRY #endif /* WIN32 && !CYGWIN */ -#if (defined(__BEOS__) && defined(__POWERPC__)) -# define PRAGMA_EXPORT_SUPPORTED 1 -#endif - /* * WINDOWS: Include windows.h here to define APIENTRY. * It is also useful when applications include this file by diff --git a/scons/gallium.py b/scons/gallium.py index be3c3e7d9cf..ea8bacdcef0 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -295,8 +295,6 @@ 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'] if env['texture_float']: