|
127 | 127 | #include <ctype.h>
|
128 | 128 | #include <string.h>
|
129 | 129 | #include <time.h>
|
130 |
| -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 130 | +#if _LIBCPP_HAS_WIDE_CHARACTERS |
131 | 131 | # include <wctype.h>
|
132 | 132 | #endif
|
133 | 133 | _LIBCPP_BEGIN_NAMESPACE_STD
|
@@ -189,7 +189,7 @@ inline _LIBCPP_HIDE_FROM_ABI size_t __strxfrm(char* __dest, const char* __src, s
|
189 | 189 | inline _LIBCPP_HIDE_FROM_ABI int __toupper(int __ch, __locale_t __loc) { return toupper_l(__ch, __loc); }
|
190 | 190 | inline _LIBCPP_HIDE_FROM_ABI int __tolower(int __ch, __locale_t __loc) { return tolower_l(__ch, __loc); }
|
191 | 191 |
|
192 |
| -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 192 | +#if _LIBCPP_HAS_WIDE_CHARACTERS |
193 | 193 | inline _LIBCPP_HIDE_FROM_ABI int __wcscoll(const wchar_t* __s1, const wchar_t* __s2, __locale_t __loc) {
|
194 | 194 | return wcscoll_l(__s1, __s2, __loc);
|
195 | 195 | }
|
@@ -221,7 +221,7 @@ __strftime(char* __s, size_t __max, const char* __format, const tm* __tm, __loca
|
221 | 221 | inline _LIBCPP_HIDE_FROM_ABI decltype(__libcpp_mb_cur_max_l(__locale_t())) __mb_len_max(__locale_t __loc) {
|
222 | 222 | return __libcpp_mb_cur_max_l(__loc);
|
223 | 223 | }
|
224 |
| -#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS |
| 224 | +#if _LIBCPP_HAS_WIDE_CHARACTERS |
225 | 225 | inline _LIBCPP_HIDE_FROM_ABI wint_t __btowc(int __ch, __locale_t __loc) { return __libcpp_btowc_l(__ch, __loc); }
|
226 | 226 | inline _LIBCPP_HIDE_FROM_ABI int __wctob(wint_t __ch, __locale_t __loc) { return __libcpp_wctob_l(__ch, __loc); }
|
227 | 227 | inline _LIBCPP_HIDE_FROM_ABI size_t
|
|
0 commit comments