Mesa (master): mesa: remove WGLAPI macro

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 5 01:11:46 UTC 2013


Module: Mesa
Branch: master
Commit: 9bdc94b94db18f14725a3ea9d2a9ebe0af1c13fd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9bdc94b94db18f14725a3ea9d2a9ebe0af1c13fd

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov  4 17:47:19 2013 -0700

mesa: remove WGLAPI macro

WGLAPI was defined in glheader.h but wasn't used anywhere.

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/main/glheader.h |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index e027218..7f7f9a3 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -33,22 +33,6 @@
 #define GLHEADER_H
 
 
-#ifdef WGLAPI
-#undef WGLAPI
-#endif
-
-
-#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
-#  if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
-#    define WGLAPI __declspec(dllexport)
-#  elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
-#    define WGLAPI __declspec(dllimport)
-#  else /* for use with static link lib build of Win32 edition only */
-#    define WGLAPI __declspec(dllimport)
-#  endif /* _STATIC_MESA support */
-#endif /* WIN32 / CYGWIN bracket */
-
-
 #define GL_GLEXT_PROTOTYPES
 #include "GL/gl.h"
 #include "GL/glext.h"




More information about the mesa-commit mailing list