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>
This commit is contained in:
@@ -36,11 +36,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 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 extern
|
||||||
# define GLAPI __declspec(dllexport)
|
|
||||||
# else
|
|
||||||
# define GLAPI extern
|
|
||||||
# endif
|
|
||||||
# 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 */
|
# 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
|
# define GLAPIENTRY
|
||||||
# else
|
# else
|
||||||
|
Reference in New Issue
Block a user