[730/906] glcompat: Properly check for GLchar and other types
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 10 Jul 2013 09:30:16 +0000 (11:30 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:57 +0000 (18:36 +0100)
On Android for example these are no #defines but typedefs

gst-libs/gst/gl/glprototypes/gstgl_compat.h

index 6271917..a0f1ec4 100644 (file)
 #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