File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1024,8 +1024,8 @@ typedef __char32_t char32_t;
10241024//
10251025// picolibc 1.8.9 and newer declare the two functions unconditionally.
10261026//
1027- // Microsoft C Runtime, Apple C library and AIX C library do not yet support
1028- // these functions.
1027+ // Apple C library, Microsoft C Runtime, AIX C library and FreeBSD libc do not
1028+ // yet support these functions.
10291029# if defined(_LIBCPP_GLIBC_PREREQ)
10301030# if defined(__cpp_char8_t) && _LIBCPP_GLIBC_PREREQ(2, 36)
10311031# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
@@ -1038,7 +1038,7 @@ typedef __char32_t char32_t;
10381038# else
10391039# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
10401040# endif
1041- # elif defined(__APPLE__) || defined(_MSC_VER) || defined(_AIX)
1041+ # elif defined(__APPLE__) || defined(_MSC_VER) || defined(_LIBCPP_UCRT) || defined( _AIX) || defined(__FreeBSD__ )
10421042# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
10431043# else
10441044# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
You can’t perform that action at this time.
0 commit comments