From 2671b576b22614d1b424a1fe70f84ee6c3920d13 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 4 Nov 2013 17:47:19 -0700 Subject: [PATCH] mesa: remove OPENSTEP stuff Reviewed-by: Matt Turner --- 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 1d21df75db9..d0710bac860 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -40,15 +40,11 @@ #include /* 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 */ -- 2.30.2