X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a09f7e7aba23adede04b9604e4b07a35dc07c0ec..b8d327eef33a67e667d1ac11533ec5fd8b932581:/ndk-patches/stdlib.h.patch diff --git a/ndk-patches/stdlib.h.patch b/ndk-patches/stdlib.h.patch index f5265994..d4a38f14 100644 --- a/ndk-patches/stdlib.h.patch +++ b/ndk-patches/stdlib.h.patch @@ -1,6 +1,6 @@ diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h ./usr/include/stdlib.h --- /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h 2017-06-20 17:41:56.000000000 +0200 -+++ ./usr/include/stdlib.h 2017-07-01 01:50:17.192362546 +0200 ++++ ./usr/include/stdlib.h 2017-07-16 12:30:31.724463111 +0200 @@ -35,6 +35,7 @@ #include #include @@ -9,3 +9,13 @@ diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h ./usr/inc __BEGIN_DECLS +@@ -210,8 +211,7 @@ + size_t wcstombs(char*, const wchar_t*, size_t); + + #if __ANDROID_API__ >= __ANDROID_API_L__ +-size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21); +-#define MB_CUR_MAX __ctype_get_mb_cur_max() ++#define MB_CUR_MAX 4 + #else + /* + * Pre-L we didn't have any locale support and so we were always the POSIX