summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-04 17:47:19 -0700
committerBrian Paul <[email protected]>2013-11-04 18:09:57 -0700
commit2671b576b22614d1b424a1fe70f84ee6c3920d13 (patch)
tree1bb807fb8955937d480b623f846b048f2672bec3
parent32577fc0adec86557c53ced8fb13dd5de76e58e0 (diff)
mesa: remove OPENSTEP stuff
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--include/GL/gl.h6
-rw-r--r--src/mesa/main/compiler.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 1d21df75db9..d0710bac860 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -40,15 +40,11 @@
#include <stdlib.h> /* to get some BeOS-isms */
#endif
-#if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO))
-#define OPENSTEP
-#endif
-
#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
#define __WIN32__
#endif
-#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
+#if defined(__WIN32__) && !defined(__CYGWIN__)
# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
# define GLAPI __declspec(dllexport)
# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 61ce5dbdc78..e3c856065a2 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -90,7 +90,7 @@ extern "C" {
/**
* Disable assorted warnings
*/
-#if !defined(OPENSTEP) && (defined(_WIN32) && !defined(__CYGWIN__))
+#if defined(_WIN32) && !defined(__CYGWIN__)
# if !defined(__GNUC__) /* mingw environment */
# pragma warning( disable : 4068 ) /* unknown pragma */
# pragma warning( disable : 4710 ) /* function 'foo' not inlined */