X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fgl.h;fp=source%2Fgl.h;h=255242bf12956fb0559730cd8d8885fdd5813c71;hp=05844ba5f4666e5b048209ab9340bff69a601d68;hb=a533f857e7d319c6eff2b788bbad3a238468c4b2;hpb=0a98aafdf8cd59cd6eb5a926d3a31a01d27ffba8 diff --git a/source/gl.h b/source/gl.h index 05844ba5..255242bf 100644 --- a/source/gl.h +++ b/source/gl.h @@ -5,8 +5,10 @@ #include #endif #ifdef __APPLE__ +#define extern extern __attribute__((weak_import)) #include #include +#undef extern #else #include #include