[libcxx-commits] [libcxx] [libcxx] Define `_LIBCPP_HAS_C8RTOMB_MBRTOC8` to true if compiling with clang (PR #152724)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 18 01:33:18 PDT 2025
================
@@ -1027,6 +1027,8 @@ typedef __char32_t char32_t;
# else
# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 0
# endif
+# elif defined(__clang__)
+# define _LIBCPP_HAS_C8RTOMB_MBRTOC8 1
----------------
philnik777 wrote:
I think I'd rather have this as the first option to make it clear the rest is purely for GCC support.
https://github.com/llvm/llvm-project/pull/152724
More information about the libcxx-commits
mailing list