Module: Mesa
Branch: main
Commit: 147a491a74d0f588b724759d86bde08a96ab1858
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=147a491a74d0f588b724759d86bde08a96ab1858

Author: Yonggang Luo <[email protected]>
Date:   Thu Nov  3 00:04:08 2022 +0800

mesa: BUILD_GL32 is not used anymore

Remove usage of BUILD_GL32 in GL/gl.h

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Acked-by: Brian Paul [email protected]
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>

---

 include/GL/gl.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/GL/gl.h b/include/GL/gl.h
index e2f5408a5d5..b18360c3457 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -36,11 +36,7 @@
 #endif
 
 #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)
-#  else
-#    define GLAPI extern
-#  endif
+#  define GLAPI extern
 #  if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE)  /* 
The generated DLLs by MingW with STDCALL are not compatible with the ones done 
by Microsoft's compilers */
 #    define GLAPIENTRY
 #  else

Reply via email to