ndk-patches: Use bin/login in getpwd()
[termux-packages] / ndk-patches / stdlib.h.patch
CommitLineData
a09f7e7a
FF
1diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h ./usr/include/stdlib.h
2--- /home/fornwall/lib/android-ndk/sysroot/usr/include/stdlib.h 2017-06-20 17:41:56.000000000 +0200
845a978a 3+++ ./usr/include/stdlib.h 2017-07-16 12:30:31.724463111 +0200
a09f7e7a
FF
4@@ -35,6 +35,7 @@
5 #include <alloca.h>
6 #include <malloc.h>
7 #include <stddef.h>
8+#include <stdint.h>
9
10 __BEGIN_DECLS
11
845a978a
FF
12@@ -210,8 +211,7 @@
13 size_t wcstombs(char*, const wchar_t*, size_t);
14
15 #if __ANDROID_API__ >= __ANDROID_API_L__
16-size_t __ctype_get_mb_cur_max(void) __INTRODUCED_IN(21);
17-#define MB_CUR_MAX __ctype_get_mb_cur_max()
18+#define MB_CUR_MAX 4
19 #else
20 /*
21 * Pre-L we didn't have any locale support and so we were always the POSIX