[730/906] glcompat: Properly check for GLchar and other types

On Android for example these are no #defines but typedefs
This commit is contained in:
Sebastian Dröge 2013-07-10 11:30:16 +02:00 committed by Tim-Philipp Müller
parent 341210eaa6
commit 61dfdc19b9

View file

@ -22,16 +22,16 @@
#define __GST_GL_COMPAT_H__ #define __GST_GL_COMPAT_H__
/* undefined typedefs */ /* undefined typedefs */
#ifndef GLeglImageOES #ifndef HAVE_GLEGLIMAGEOES
typedef gpointer GLeglImageOES; typedef gpointer GLeglImageOES;
#endif #endif
#ifndef GLchar #ifndef HAVE_GLCHAR
typedef gchar GLchar; typedef gchar GLchar;
#endif #endif
#ifndef GLsizeiptr #ifndef HAVE_GLSIZEIPTR
typedef ptrdiff_t GLsizeiptr; typedef ptrdiff_t GLsizeiptr;
#endif #endif
#ifndef GLintptr #ifndef HAVE_GLINTPTR
typedef ptrdiff_t GLintptr; typedef ptrdiff_t GLintptr;
#endif #endif