# HG changeset patch # User reimar # Date 1140689890 0 # Node ID b822575a11404695296aba763809e143256e6e8b # Parent 8f036d112bb626bf98abbcca21a0adfeace15fd6 workaround for gl.h variants that do not define APIENTRY diff -r 8f036d112bb6 -r b822575a1140 libvo/gl_common.h --- a/libvo/gl_common.h Wed Feb 22 20:39:44 2006 +0000 +++ b/libvo/gl_common.h Thu Feb 23 10:18:10 2006 +0000 @@ -17,6 +17,15 @@ #include "x11_common.h" #endif +// workaround for some gl.h headers +#ifndef APIENTRY +#ifdef GLAPIENTRY +#define APIENTRY GLAPIENTRY +#else +#define APIENTRY +#endif +#endif + /** * \defgroup glextdefines OpenGL extension defines *