gl/build: add configure check for possibly missing EGLAttrib

Fixes the build on older android targets.
This commit is contained in:
Matthew Waters 2016-08-16 16:51:02 +10:00 committed by Tim-Philipp Müller
parent 15c34b0ab1
commit 1a7333173a

View file

@ -46,4 +46,9 @@
#pragma GCC diagnostic pop
#endif
/* compatibility definitions... */
#if !GST_GL_HAVE_EGLATTRIB
typedef EGLAttrib gintptr;
#endif
#endif /* _GST_EGL_H_ */