termux-packages/x11-packages/sdl2/SDL2-2.0.9_include_SDL_platform.h.patch
2022-04-18 14:08:37 +05:30

16 lines
536 B
Diff

diff -uNr SDL2-2.0.9/include/SDL_platform.h SDL2-2.0.9.mod/include/SDL_platform.h
--- SDL2-2.0.9/include/SDL_platform.h 2018-10-31 17:07:22.000000000 +0200
+++ SDL2-2.0.9.mod/include/SDL_platform.h 2018-11-09 16:54:32.445167443 +0200
@@ -60,11 +60,6 @@
#undef __LINUX__
#define __LINUX__ 1
#endif
-#if defined(ANDROID) || defined(__ANDROID__)
-#undef __ANDROID__
-#undef __LINUX__ /* do we need to do this? */
-#define __ANDROID__ 1
-#endif
#if defined(__APPLE__)
/* lets us know what version of Mac OS X we're compiling on */