mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
24 lines
869 B
Diff
24 lines
869 B
Diff
--- a/src/3rdparty/chromium/third_party/khronos/EGL/eglplatform.h
|
|
+++ b/src/3rdparty/chromium/third_party/khronos/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;
|
|
|
|
--- a/src/3rdparty/chromium/third_party/angle/include/EGL/eglplatform.h
|
|
+++ b/src/3rdparty/chromium/third_party/angle/include/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;
|