diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-23 10:18:10 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-02-23 10:18:10 +0000 |
commit | d18baca45cbef7ccc07d467979e873166d9dd85b (patch) | |
tree | fd3b4dd47ae589b20b51914274fca2bf59818827 /libvo | |
parent | 2e51fd4440edf02797b1e1a36a8fad614684a835 (diff) |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/gl_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 * |