X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=d558706cb1e000858b6e9006e83200679b25c308;hb=51c775a5df70fe5a538c3e4bcccd3ab857ba5b59;hp=ae145457dff857d112a44c0b26d4ac7d9299df71;hpb=9dc2c20e8c7ac91d932b12492591b65786e24b0f;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index ae145457..d558706c 100644 --- a/source/gl.h +++ b/source/gl.h @@ -2,10 +2,13 @@ #define MSP_GL_GL_H_ #ifdef __APPLE__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wkeyword-macro" #define extern extern __attribute__((weak_import)) #include #include #undef extern +#pragma clang diagnostic pop #elif defined(__ANDROID__) #include #include @@ -18,4 +21,8 @@ typedef double GLdouble; #include #endif +#ifndef APIENTRY +#define APIENTRY +#endif + #endif