--- a/EGL/eglplatform.h +++ b/EGL/eglplatform.h @@ -88,7 +88,7 @@ typedef struct gbm_bo *EGLNativePixmapType; typedef void *EGLNativeWindowType; -#elif defined(__ANDROID__) || defined(ANDROID) +#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__) struct ANativeWindow; struct egl_native_pixmap_t;