termux-packages/ndk-patches/sys-cdefs.h.patch
2020-07-09 13:51:35 +02:00

10 lines
312 B
Diff

--- ./usr/include/sys/cdefs.h.orig 2020-01-18 00:06:05.760188085 +0000
+++ ./usr/include/sys/cdefs.h 2020-01-18 00:09:52.363968728 +0000
@@ -358,3 +358,6 @@
#if __has_include(<android/ndk-version.h>)
#include <android/ndk-version.h>
#endif
+#define __TERMUX__ 1
+#define __TERMUX_PREFIX__ "@TERMUX_PREFIX@"
+