summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-14/arch-mips/usr/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to '9/platforms/android-14/arch-mips/usr/include/wchar.h')
-rw-r--r--9/platforms/android-14/arch-mips/usr/include/wchar.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/9/platforms/android-14/arch-mips/usr/include/wchar.h b/9/platforms/android-14/arch-mips/usr/include/wchar.h
index 437f52b..b10f470 100644
--- a/9/platforms/android-14/arch-mips/usr/include/wchar.h
+++ b/9/platforms/android-14/arch-mips/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);