X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fgl.h;h=9a7cb9cd88a338aaf44582dac1a2b65fbdda969d;hp=ae145457dff857d112a44c0b26d4ac7d9299df71;hb=03d3984ecd2c4e7c38b6a62b4b7a81bab69f8d40;hpb=9dc2c20e8c7ac91d932b12492591b65786e24b0f diff --git a/source/gl.h b/source/gl.h index ae145457..9a7cb9cd 100644 --- a/source/gl.h +++ b/source/gl.h @@ -2,14 +2,18 @@ #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 typedef double GLdouble; +typedef long long GLint64; #else #ifdef WIN32 #include @@ -18,4 +22,8 @@ typedef double GLdouble; #include #endif +#ifndef APIENTRY +#define APIENTRY +#endif + #endif