@@ -558,7 +558,7 @@ struct __can_convert_char<wchar_t> {
558
558
static const bool value = true ;
559
559
using __char_type = wchar_t ;
560
560
};
561
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
561
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
562
562
template <>
563
563
struct __can_convert_char <char8_t > {
564
564
static const bool value = true ;
@@ -586,7 +586,7 @@ __is_separator(_ECharT __e) {
586
586
#endif
587
587
}
588
588
589
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
589
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
590
590
typedef u8string __u8_string;
591
591
#else
592
592
typedef string __u8_string;
@@ -893,7 +893,7 @@ struct _PathExport<char16_t> {
893
893
}
894
894
};
895
895
896
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
896
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
897
897
template <>
898
898
struct _PathExport <char8_t > {
899
899
typedef __narrow_to_utf8<sizeof (wchar_t ) * __CHAR_BIT__> _Narrower;
@@ -903,7 +903,7 @@ struct _PathExport<char8_t> {
903
903
_Narrower ()(back_inserter (__dest), __src.data (), __src.data () + __src.size ());
904
904
}
905
905
};
906
- #endif /* !_LIBCPP_NO_HAS_CHAR8_T */
906
+ #endif /* !_LIBCPP_HAS_NO_CHAR8_T */
907
907
#endif /* _LIBCPP_WIN32API */
908
908
909
909
class _LIBCPP_TYPE_VIS path {
@@ -1264,7 +1264,7 @@ public:
1264
1264
#else /* _LIBCPP_WIN32API */
1265
1265
1266
1266
_LIBCPP_INLINE_VISIBILITY _VSTD::string string () const { return __pn_; }
1267
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1267
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
1268
1268
_LIBCPP_INLINE_VISIBILITY _VSTD::u8string u8string () const { return _VSTD::u8string (__pn_.begin (), __pn_.end ()); }
1269
1269
#else
1270
1270
_LIBCPP_INLINE_VISIBILITY _VSTD::string u8string () const { return __pn_; }
@@ -1296,7 +1296,7 @@ public:
1296
1296
1297
1297
// generic format observers
1298
1298
_VSTD::string generic_string () const { return __pn_; }
1299
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1299
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
1300
1300
_VSTD::u8string generic_u8string () const { return _VSTD::u8string (__pn_.begin (), __pn_.end ()); }
1301
1301
#else
1302
1302
_VSTD::string generic_u8string () const { return __pn_; }
@@ -1520,7 +1520,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
1520
1520
typename enable_if<__is_pathable<_InputIt>::value, path>::type
1521
1521
u8path (_InputIt __f, _InputIt __l) {
1522
1522
static_assert (
1523
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1523
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
1524
1524
is_same<typename __is_pathable<_InputIt>::__char_type, char8_t >::value ||
1525
1525
#endif
1526
1526
is_same<typename __is_pathable<_InputIt>::__char_type, char >::value,
@@ -1544,7 +1544,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
1544
1544
typename enable_if<__is_pathable<_InputIt>::value, path>::type
1545
1545
u8path (_InputIt __f, _NullSentinel) {
1546
1546
static_assert (
1547
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1547
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
1548
1548
is_same<typename __is_pathable<_InputIt>::__char_type, char8_t >::value ||
1549
1549
#endif
1550
1550
is_same<typename __is_pathable<_InputIt>::__char_type, char >::value,
@@ -1567,7 +1567,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
1567
1567
typename enable_if<__is_pathable<_Source>::value, path>::type
1568
1568
u8path (const _Source& __s) {
1569
1569
static_assert (
1570
- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1570
+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
1571
1571
is_same<typename __is_pathable<_Source>::__char_type, char8_t >::value ||
1572
1572
#endif
1573
1573
is_same<typename __is_pathable<_Source>::__char_type, char >::value,
0 commit comments