diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h index 3eae4b6..593272b 100644 --- a/include/epoxy/gl.h +++ b/include/epoxy/gl.h @@ -54,6 +54,7 @@ extern "C" { /* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */ #define APIENTRY #define GLAPIENTRY +#define GLAPI #else #ifndef APIENTRY #define APIENTRY __stdcall @@ -68,6 +69,14 @@ extern "C" { #endif #endif /* _WIN32 */ +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif + +#ifndef GLAPIENTRYP +#define GLAPIENTRYP GLAPIENTRY * +#endif + #include "epoxy/gl_generated.h" #include "epoxy/gl_generated_vtable_defines.h"