diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-06 11:38:22 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-06 11:38:41 -0800 |
commit | 08101c514539f36c80289f17221e8acab5cf2634 (patch) | |
tree | ceac066a5e872fc699470dd6f1b6bcef9712e250 /include | |
parent | 26ca6ac8e864ef004194e35b0c9e4e9c4e81a188 (diff) | |
download | libepoxy-08101c514539f36c80289f17221e8acab5cf2634.tar.gz |
Add some more defines that are present in normal gl.h
Diffstat (limited to 'include')
-rw-r--r-- | include/epoxy/gl.h | 9 |
1 files changed, 9 insertions, 0 deletions
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" |