diff options
author | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-10-08 12:52:08 -0700 |
---|---|---|
committer | Hoa V. Dinh <dinh.viet.hoa@gmail.com> | 2015-10-08 12:52:08 -0700 |
commit | 411efe2dca47f96de5772dc99e4d6a35eab2d6f4 (patch) | |
tree | d5d6af4d251fd0ba265f76d010d7633bf8c8593f | |
parent | 18f6bfe87f33008021be6647061436ebec19669c (diff) |
Improved support for android 16
-rw-r--r-- | src/core/basetypes/MCUtils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/basetypes/MCUtils.h b/src/core/basetypes/MCUtils.h index cbabe0b3..ef8f3cd3 100644 --- a/src/core/basetypes/MCUtils.h +++ b/src/core/basetypes/MCUtils.h @@ -48,6 +48,20 @@ # define MAILCORE_EXPORT #endif +#ifdef __ANDROID_API__ +#if __ANDROID_API__ < 21 +#include <wchar.h> +extern int iswblank(wint_t); +extern int vfwscanf(FILE*, const wchar_t*, va_list); +extern int vswscanf(const wchar_t*, const wchar_t*, va_list); +extern int vwscanf(const wchar_t*, va_list); +extern float wcstof(const wchar_t*, wchar_t**); +extern long double wcstold(const wchar_t*, wchar_t**); +extern long long wcstoll(const wchar_t*, wchar_t**, int); +extern unsigned long long wcstoull(const wchar_t*, wchar_t**, int); +#endif +#endif + #ifdef __clang__ #if __has_feature(attribute_analyzer_noreturn) |