termux-packages/ndk-patches/sys-cdefs.h.patch

10 lines
312 B
Diff
Raw Normal View History

2021-09-16 21:51:29 +02:00
--- ./usr/include/sys/cdefs.h.orig 2021-08-16 11:52:08.128876161 +0200
+++ ./usr/include/sys/cdefs.h 2021-08-16 11:52:08.555542676 +0200
@@ -372,3 +372,6 @@
2020-01-18 23:18:11 +01:00
#if __has_include(<android/ndk-version.h>)
#include <android/ndk-version.h>
#endif
+#define __TERMUX__ 1
+#define __TERMUX_PREFIX__ "@TERMUX_PREFIX@"
2020-01-18 23:18:11 +01:00
+