Mesa (master): mesa: Remove last BEOS checks
Alexander von Gluck IV
kallisti5 at kemper.freedesktop.org
Tue Nov 5 15:38:06 UTC 2013
Module: Mesa
Branch: master
Commit: 1c7605685d2b8250b92acf5ce8f6f217bb3f1a12
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c7605685d2b8250b92acf5ce8f6f217bb3f1a12
Author: Alexander von Gluck IV <kallisti5 at unixzen.com>
Date: Tue Nov 5 01:31:26 2013 +0000
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 <brianp at vmware.com>
---
include/GL/gl.h | 8 --------
scons/gallium.py | 2 --
2 files changed, 0 insertions(+), 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']:
More information about the mesa-commit
mailing list