From d18baca45cbef7ccc07d467979e873166d9dd85b Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 23 Feb 2006 10:18:10 +0000 Subject: workaround for gl.h variants that do not define APIENTRY git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17669 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libvo') diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 926121ac65..fdba8440a8 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -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 * -- cgit v1.2.3