X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=255242bf12956fb0559730cd8d8885fdd5813c71;hb=a533f857e7d319c6eff2b788bbad3a238468c4b2;hp=2c77d6809456e8a8ba65276359e16c4943ab1ff3;hpb=9cf5d10abe5bdff0708c41544f6e8b15aca5151f;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index 2c77d680..255242bf 100644 --- a/source/gl.h +++ b/source/gl.h @@ -4,7 +4,14 @@ #ifdef WIN32 #include #endif +#ifdef __APPLE__ +#define extern extern __attribute__((weak_import)) +#include +#include +#undef extern +#else #include #include +#endif #endif