Skip to content

Commit 2144d6b

Browse files
committed
Adjust for config site change
1 parent 9dcea9b commit 2144d6b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libcxx/include/__locale_dir/locale_base_api.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
#include <ctype.h>
128128
#include <string.h>
129129
#include <time.h>
130-
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
130+
#if _LIBCPP_HAS_WIDE_CHARACTERS
131131
# include <wctype.h>
132132
#endif
133133
_LIBCPP_BEGIN_NAMESPACE_STD
@@ -189,7 +189,7 @@ inline _LIBCPP_HIDE_FROM_ABI size_t __strxfrm(char* __dest, const char* __src, s
189189
inline _LIBCPP_HIDE_FROM_ABI int __toupper(int __ch, __locale_t __loc) { return toupper_l(__ch, __loc); }
190190
inline _LIBCPP_HIDE_FROM_ABI int __tolower(int __ch, __locale_t __loc) { return tolower_l(__ch, __loc); }
191191

192-
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
192+
#if _LIBCPP_HAS_WIDE_CHARACTERS
193193
inline _LIBCPP_HIDE_FROM_ABI int __wcscoll(const wchar_t* __s1, const wchar_t* __s2, __locale_t __loc) {
194194
return wcscoll_l(__s1, __s2, __loc);
195195
}
@@ -221,7 +221,7 @@ __strftime(char* __s, size_t __max, const char* __format, const tm* __tm, __loca
221221
inline _LIBCPP_HIDE_FROM_ABI decltype(__libcpp_mb_cur_max_l(__locale_t())) __mb_len_max(__locale_t __loc) {
222222
return __libcpp_mb_cur_max_l(__loc);
223223
}
224-
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
224+
#if _LIBCPP_HAS_WIDE_CHARACTERS
225225
inline _LIBCPP_HIDE_FROM_ABI wint_t __btowc(int __ch, __locale_t __loc) { return __libcpp_btowc_l(__ch, __loc); }
226226
inline _LIBCPP_HIDE_FROM_ABI int __wctob(wint_t __ch, __locale_t __loc) { return __libcpp_wctob_l(__ch, __loc); }
227227
inline _LIBCPP_HIDE_FROM_ABI size_t

libcxx/include/__locale_dir/locale_base_api/apple.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <ctype.h>
1515
#include <string.h>
1616
#include <time.h>
17-
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
17+
#if _LIBCPP_HAS_WIDE_CHARACTERS
1818
# include <wctype.h>
1919
#endif
2020

libcxx/include/__locale_dir/locale_base_api/freebsd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include <ctype.h>
1515
#include <string.h>
1616
#include <time.h>
17-
#ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
17+
#if _LIBCPP_HAS_WIDE_CHARACTERS
1818
# include <wctype.h>
1919
#endif
2020

0 commit comments

Comments
 (0)