@@ -558,7 +558,7 @@ struct __can_convert_char<wchar_t> {
558558 static const bool value = true ;
559559 using __char_type = wchar_t ;
560560};
561- #ifndef _LIBCPP_NO_HAS_CHAR8_T
561+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
562562template <>
563563struct __can_convert_char <char8_t > {
564564 static const bool value = true ;
@@ -586,7 +586,7 @@ __is_separator(_ECharT __e) {
586586#endif
587587}
588588
589- #ifndef _LIBCPP_NO_HAS_CHAR8_T
589+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
590590typedef u8string __u8_string;
591591#else
592592typedef string __u8_string;
@@ -893,7 +893,7 @@ struct _PathExport<char16_t> {
893893 }
894894};
895895
896- #ifndef _LIBCPP_NO_HAS_CHAR8_T
896+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
897897template <>
898898struct _PathExport <char8_t > {
899899 typedef __narrow_to_utf8<sizeof (wchar_t ) * __CHAR_BIT__> _Narrower;
@@ -903,7 +903,7 @@ struct _PathExport<char8_t> {
903903 _Narrower ()(back_inserter (__dest), __src.data (), __src.data () + __src.size ());
904904 }
905905};
906- #endif /* !_LIBCPP_NO_HAS_CHAR8_T */
906+ #endif /* !_LIBCPP_HAS_NO_CHAR8_T */
907907#endif /* _LIBCPP_WIN32API */
908908
909909class _LIBCPP_TYPE_VIS path {
@@ -1264,7 +1264,7 @@ public:
12641264#else /* _LIBCPP_WIN32API */
12651265
12661266 _LIBCPP_INLINE_VISIBILITY _VSTD::string string () const { return __pn_; }
1267- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1267+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
12681268 _LIBCPP_INLINE_VISIBILITY _VSTD::u8string u8string () const { return _VSTD::u8string (__pn_.begin (), __pn_.end ()); }
12691269#else
12701270 _LIBCPP_INLINE_VISIBILITY _VSTD::string u8string () const { return __pn_; }
@@ -1296,7 +1296,7 @@ public:
12961296
12971297 // generic format observers
12981298 _VSTD::string generic_string () const { return __pn_; }
1299- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1299+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
13001300 _VSTD::u8string generic_u8string () const { return _VSTD::u8string (__pn_.begin (), __pn_.end ()); }
13011301#else
13021302 _VSTD::string generic_u8string () const { return __pn_; }
@@ -1520,7 +1520,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
15201520 typename enable_if<__is_pathable<_InputIt>::value, path>::type
15211521 u8path (_InputIt __f, _InputIt __l) {
15221522 static_assert (
1523- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1523+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
15241524 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t >::value ||
15251525#endif
15261526 is_same<typename __is_pathable<_InputIt>::__char_type, char >::value,
@@ -1544,7 +1544,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
15441544 typename enable_if<__is_pathable<_InputIt>::value, path>::type
15451545 u8path (_InputIt __f, _NullSentinel) {
15461546 static_assert (
1547- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1547+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
15481548 is_same<typename __is_pathable<_InputIt>::__char_type, char8_t >::value ||
15491549#endif
15501550 is_same<typename __is_pathable<_InputIt>::__char_type, char >::value,
@@ -1567,7 +1567,7 @@ _LIBCPP_INLINE_VISIBILITY _LIBCPP_DEPRECATED_WITH_CHAR8_T
15671567 typename enable_if<__is_pathable<_Source>::value, path>::type
15681568 u8path (const _Source& __s) {
15691569 static_assert (
1570- #ifndef _LIBCPP_NO_HAS_CHAR8_T
1570+ #ifndef _LIBCPP_HAS_NO_CHAR8_T
15711571 is_same<typename __is_pathable<_Source>::__char_type, char8_t >::value ||
15721572#endif
15731573 is_same<typename __is_pathable<_Source>::__char_type, char >::value,
0 commit comments