X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=ae145457dff857d112a44c0b26d4ac7d9299df71;hb=58e3368ddb21de5c4bc6e208440de369fe4876f1;hp=2c77d6809456e8a8ba65276359e16c4943ab1ff3;hpb=9cf5d10abe5bdff0708c41544f6e8b15aca5151f;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index 2c77d680..ae145457 100644 --- a/source/gl.h +++ b/source/gl.h @@ -1,10 +1,21 @@ #ifndef MSP_GL_GL_H_ #define MSP_GL_GL_H_ +#ifdef __APPLE__ +#define extern extern __attribute__((weak_import)) +#include +#include +#undef extern +#elif defined(__ANDROID__) +#include +#include +typedef double GLdouble; +#else #ifdef WIN32 #include #endif #include #include +#endif #endif