From 1a7333173a3c4f3faff40002441e2fedc9df6d37 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Tue, 16 Aug 2016 16:51:02 +1000 Subject: [PATCH] gl/build: add configure check for possibly missing EGLAttrib Fixes the build on older android targets. --- gst-libs/gst/gl/egl/gstegl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst-libs/gst/gl/egl/gstegl.h b/gst-libs/gst/gl/egl/gstegl.h index 82d4953..d227153 100644 --- a/gst-libs/gst/gl/egl/gstegl.h +++ b/gst-libs/gst/gl/egl/gstegl.h @@ -46,4 +46,9 @@ #pragma GCC diagnostic pop #endif +/* compatibility definitions... */ +#if !GST_GL_HAVE_EGLATTRIB +typedef EGLAttrib gintptr; +#endif + #endif /* _GST_EGL_H_ */ -- 2.7.4