X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=255242bf12956fb0559730cd8d8885fdd5813c71;hb=a533f857e7d319c6eff2b788bbad3a238468c4b2;hp=c033a377aa7a1bd11ed75294fc3f67ae633b6f49;hpb=a4ec5410595ddf37bfbc0e85ad87d31a9cbf94f1;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index c033a377..255242bf 100644 --- a/source/gl.h +++ b/source/gl.h @@ -1,16 +1,17 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #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 +#else #include +#include +#endif #endif