[MPlayer-cvslog] CVS: main/libvo gl_common.h,1.25,1.26

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Feb 23 11:18:13 CET 2006


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv30737

Modified Files:
	gl_common.h 
Log Message:
workaround for gl.h variants that do not define APIENTRY


Index: gl_common.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/gl_common.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- gl_common.h	9 Feb 2006 14:07:58 -0000	1.25
+++ gl_common.h	23 Feb 2006 10:18:10 -0000	1.26
@@ -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
  * 




More information about the MPlayer-cvslog mailing list