[libcxx-commits] [libcxx] [libcxx] Define `_LIBCPP_HAS_C8RTOMB_MBRTOC8` to true if compiling with clang (PR #165439)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 26 05:51:08 PST 2025


frederick-vs-ja wrote:

I _guess_ a workaround would be adding

```C++
#    if _LIBCPP_HAS_C8RTOMB_MBRTOC8
using ::mbrtoc8 _LIBCPP_USING_IF_EXISTS;
using ::c8rtomb _LIBCPP_USING_IF_EXISTS;
#    endif
```

to the global namespace.

Also, please resolve merge conflicts first.

https://github.com/llvm/llvm-project/pull/165439


More information about the libcxx-commits mailing list