2021-09-16 21:51:29 +02:00
|
|
|
--- ./usr/include/stdlib.h.orig 2021-08-16 11:50:47.432239182 +0200
|
|
|
|
+++ ./usr/include/stdlib.h 2021-08-16 11:51:31.102222894 +0200
|
2019-03-20 14:37:12 +01:00
|
|
|
@@ -33,6 +33,7 @@
|
|
|
|
#include <bits/wait.h>
|
2017-07-01 01:54:44 +02:00
|
|
|
#include <malloc.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
+#include <stdint.h>
|
2018-05-27 14:55:20 +02:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
#include <xlocale.h>
|
2017-07-01 01:54:44 +02:00
|
|
|
|
2021-05-07 07:58:58 +02:00
|
|
|
@@ -224,8 +225,7 @@
|
2017-11-15 16:48:35 +01:00
|
|
|
size_t wcstombs(char* __dst, const wchar_t* __src, size_t __n);
|
2017-07-16 12:36:06 +02:00
|
|
|
|
2021-09-16 21:51:29 +02:00
|
|
|
#if __ANDROID_API__ >= 21
|
2017-07-16 12:36:06 +02:00
|
|
|
-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
|