mesa: Remove last BEOS checks
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Tue, 5 Nov 2013 01:31:26 +0000 (01:31 +0000)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Tue, 5 Nov 2013 15:37:58 +0000 (09:37 -0600)
* 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@vmware.com>
include/GL/gl.h
scons/gallium.py

index d0710bac860cc58b7d16e61f024144685b6b3ad6..b484b96ce3fd607fbb29cbafec01c7e2d9e66b26 100644 (file)
  * 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
 #  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
index be3c3e7d9cf19bb75fd8d41c3bc7a6c9580f9454..ea8bacdcef059679fa3bbad228ba250add32cf74 100755 (executable)
@@ -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']: