[Mesa-dev] [PATCH 5/5] mesa: remove OPENSTEP stuff
Brian Paul
brianp at vmware.com
Mon Nov 4 16:48:37 PST 2013
---
include/GL/gl.h | 6 +-----
src/mesa/main/compiler.h | 2 +-
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 1d21df7..d0710ba 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 2752ca8..69d08ef 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -86,7 +86,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 */
--
1.7.10.4
More information about the mesa-dev
mailing list