From 147a491a74d0f588b724759d86bde08a96ab1858 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Thu, 3 Nov 2022 00:04:08 +0800 Subject: [PATCH] mesa: BUILD_GL32 is not used anymore MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove usage of BUILD_GL32 in GL/gl.h Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Acked-by: Brian Paul brianp@vmware.com Reviewed-by: Marek Olšák Part-of: --- 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 e2f5408..b18360c 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 -- 2.7.4