mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-23 19:32:30 +00:00
22 lines
492 B
Diff
22 lines
492 B
Diff
+++ ./src/util/detect_os.h
|
|
@@ -24,7 +24,7 @@
|
|
* Android defines __linux__, so DETECT_OS_LINUX and DETECT_OS_POSIX will
|
|
* also be defined.
|
|
*/
|
|
-#if defined(__ANDROID__)
|
|
+#if 0
|
|
#define DETECT_OS_ANDROID 1
|
|
#endif
|
|
|
|
--- a/include/vulkan/vk_android_native_buffer.h
|
|
+++ b/include/vulkan/vk_android_native_buffer.h
|
|
@@ -17,7 +17,7 @@
|
|
* system rather the build target.
|
|
*/
|
|
|
|
-#if defined(__ANDROID__) || defined(ANDROID)
|
|
+#if 0
|
|
|
|
#include <cutils/native_handle.h>
|
|
#if ANDROID_API_LEVEL < 28
|