X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=255242bf12956fb0559730cd8d8885fdd5813c71;hb=67538c60b8baa6816b8ae2d343ae62d881e6c58d;hp=05844ba5f4666e5b048209ab9340bff69a601d68;hpb=710418caebcbcb9ed22bb828cb1dcd88d6b99aa1;p=libs%2Fgl.git 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