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 @@ -1021,14 +1021,14 @@ typedef __char32_t char32_t;
10211021// the latter depends on internal GNU libc details that are not appropriate
10221022// to depend on here, so any declarations present when __cpp_char8_t is not
10231023// defined are ignored.
1024- # if defined(__clang__)
1025- # define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
1026- # elif defined(_LIBCPP_GLIBC_PREREQ)
1024+ # if defined(_LIBCPP_GLIBC_PREREQ)
10271025# if _LIBCPP_GLIBC_PREREQ(2, 36) && defined(__cpp_char8_t)
10281026# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
10291027# else
10301028# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
10311029# endif
1030+ # elif defined(__clang__)
1031+ # define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
10321032# else
10331033# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
10341034# endif
You can’t perform that action at this time.
0 commit comments