termux-packages/x11-packages/freeglut/src-fg_internal.h.patch

19 lines
778 B
Diff

diff -uNr freeglut-3.0.0/src/fg_internal.h freeglut-3.0.0.mod/src/fg_internal.h
--- freeglut-3.0.0/src/fg_internal.h 2014-12-22 18:27:02.000000000 +0200
+++ freeglut-3.0.0.mod/src/fg_internal.h 2019-05-26 23:10:09.214765925 +0300
@@ -44,13 +44,10 @@
|| ( defined(__CYGWIN__) && defined(X_DISPLAY_MISSING) )
# define TARGET_HOST_MS_WINDOWS 1
-#elif defined (__ANDROID__)
-# define TARGET_HOST_ANDROID 1
-
#elif defined (__QNXNTO__) || defined (__PLAYBOOK__)
# define TARGET_HOST_BLACKBERRY 1
-#elif defined(__posix__) || defined(__unix__) || defined(__linux__) || defined(__sun)
+#elif defined(__posix__) || defined(__unix__) || defined(__linux__) || defined(__sun) || defined(__ANDROID__)
# define TARGET_HOST_POSIX_X11 1
#elif defined(__APPLE__)