diff options
Diffstat (limited to '9/sources/android/support/include/wchar.h')
-rw-r--r-- | 9/sources/android/support/include/wchar.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/9/sources/android/support/include/wchar.h b/9/sources/android/support/include/wchar.h index 3253185..8947bcf 100644 --- a/9/sources/android/support/include/wchar.h +++ b/9/sources/android/support/include/wchar.h @@ -25,8 +25,6 @@ #ifndef NDK_ANDROID_SUPPORT_WCHAR_H #define NDK_ANDROID_SUPPORT_WCHAR_H -// __LP64__ - /* IMPORTANT NOTE: Unlike other headers in the support library, this * one doesn't try to include the Bionic header through #include_next. * @@ -63,17 +61,16 @@ * * - wscanf() / wfscanf() coming soon :) */ -#ifdef __cplusplus -extern "C" { -#endif - #if defined(__LP64__) -# include_next <wchar.h> -#include <xlocale.h> // for locale_t +#include_next <wchar.h> #else +#ifdef __cplusplus +extern "C" { +#endif + #include <stdarg.h> // for va_list #include <stdio.h> // for FILE #include <stddef.h> // for size_t @@ -222,8 +219,6 @@ wint_t towlower(wint_t); wint_t towupper(wint_t); wctype_t wctype(const char *); -#endif // !__LP64__ - int wcscoll_l(const wchar_t *, const wchar_t *, locale_t); size_t wcsxfrm_l(wchar_t *__restrict__, const wchar_t *__restrict__, size_t n, locale_t); @@ -231,4 +226,6 @@ size_t wcsxfrm_l(wchar_t *__restrict__, const wchar_t *__restrict__, size_t n, l } // extern "C" #endif +#endif // !__LP64__ + #endif // NDK_ANDROID_SUPPORT_WCHAR_H |