Mercurial > mplayer.hg
changeset 17668:b822575a1140
workaround for gl.h variants that do not define APIENTRY
author | reimar |
---|---|
date | Thu, 23 Feb 2006 10:18:10 +0000 |
parents | 8f036d112bb6 |
children | cb73482267a0 |
files | libvo/gl_common.h |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 *