[Mesa-dev] [PATCH] mesa: Remove last BEOS checks
Brian Paul
brianp at vmware.com
Tue Nov 5 07:29:08 PST 2013
On 11/04/2013 06:34 PM, Alexander von Gluck IV wrote:
> * 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
> ---
> include/GL/gl.h | 8 --------
> scons/gallium.py | 2 --
> 2 files changed, 10 deletions(-)
>
> diff --git a/include/GL/gl.h b/include/GL/gl.h
> index d0710ba..b484b96 100644
> --- a/include/GL/gl.h
> +++ b/include/GL/gl.h
> @@ -36,10 +36,6 @@
> * Begin system-specific stuff.
> */
>
> -#if defined(__BEOS__)
> -#include <stdlib.h> /* 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 be3c3e7..ea8bacd 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']:
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list