diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2022-11-03 00:04:08 +0800 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-03 16:07:31 +0000 |
commit | 147a491a74d0f588b724759d86bde08a96ab1858 (patch) | |
tree | b3724d1b95121cd0f82adfd2a971a7821ff24ff1 /include | |
parent | d7b09092d44fa66cd4262eade44163826092ebf7 (diff) | |
download | mesa-147a491a74d0f588b724759d86bde08a96ab1858.tar.gz |
mesa: BUILD_GL32 is not used anymore
Remove usage of BUILD_GL32 in GL/gl.h
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Brian Paul brianp@vmware.com
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/gl.h | 6 |
1 files changed, 1 insertions, 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 |