X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=f7cba6b7aeaa098ff9ff6811c63cff6fa583ef4a;hb=0807680edd94a7f14560831db4dd52e4e48d0d19;hp=255242bf12956fb0559730cd8d8885fdd5813c71;hpb=a533f857e7d319c6eff2b788bbad3a238468c4b2;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index 255242bf..f7cba6b7 100644 --- a/source/gl.h +++ b/source/gl.h @@ -1,17 +1,25 @@ #ifndef MSP_GL_GL_H_ #define MSP_GL_GL_H_ -#ifdef WIN32 -#include -#endif #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 +#ifndef APIENTRY +#define APIENTRY +#endif + #endif