diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-11-11 15:54:42 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-11-11 15:58:28 +0800 |
commit | e02e042b38d282df98814709a68d40cbcf614216 (patch) | |
tree | 7b4397b72d0afef5d4030209383f2723da918389 /9/platforms/android-14/arch-x86/usr/include/wchar.h | |
parent | 80382fb8411116a733a37ba4f9cc4659427e6894 (diff) | |
download | prebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.zip prebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.tar.gz prebuilts_ndk-e02e042b38d282df98814709a68d40cbcf614216.tar.bz2 |
Refresh prebuilts/ndk/9/platforms with r9b+, part 1/2
Part 1: modify the existing API level
Change-Id: Ib14a58f8c1d52d7e5ec95a2f3d64077046c6c0fe
Diffstat (limited to '9/platforms/android-14/arch-x86/usr/include/wchar.h')
-rw-r--r-- | 9/platforms/android-14/arch-x86/usr/include/wchar.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/9/platforms/android-14/arch-x86/usr/include/wchar.h b/9/platforms/android-14/arch-x86/usr/include/wchar.h index 437f52b..b10f470 100644 --- a/9/platforms/android-14/arch-x86/usr/include/wchar.h +++ b/9/platforms/android-14/arch-x86/usr/include/wchar.h @@ -41,13 +41,7 @@ #include <malloc.h> #include <stddef.h> - -/* IMPORTANT: Any code that relies on wide character support is essentially - * non-portable and/or broken. the only reason this header exist - * is because I'm really a nice guy. However, I'm not nice enough - * to provide you with a real implementation. instead wchar_t == char - * and all wc functions are stubs to their "normal" equivalent... - */ +#include <sys/_wchar_limits.h> __BEGIN_DECLS @@ -71,11 +65,6 @@ typedef enum { WC_TYPE_MAX } wctype_t; -#ifndef WCHAR_MAX -#define WCHAR_MAX INT_MAX -#define WCHAR_MIN INT_MIN -#endif - #define WEOF ((wint_t)(-1)) extern wint_t btowc(int); @@ -132,7 +121,7 @@ extern wchar_t *wcsrchr(const wchar_t *, wchar_t); extern size_t wcsrtombs(char *, const wchar_t **, size_t, mbstate_t *); extern size_t wcsspn(const wchar_t *, const wchar_t *); extern wchar_t *wcsstr(const wchar_t *, const wchar_t *); -extern double wcstod(const wchar_t *, wchar_t **); +extern double wcstod(const wchar_t *, wchar_t **) __NDK_FPABI__; extern wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **); extern long int wcstol(const wchar_t *, wchar_t **, int); extern size_t wcstombs(char *, const wchar_t *, size_t); |