[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 Matthew Waters
parent 19dff69a2e
commit a98180cd53

View file

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