[libcxx-commits] [libcxx] [AIX][libc++] Fix redefinition of wchar_t overloads on AIX (PR #201432)
Jake Egan via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 8 07:35:53 PDT 2026
================
@@ -139,6 +139,8 @@ size_t wcsrtombs(char* restrict dst, const wchar_t** restrict src, size_t len,
# if _LIBCPP_HAS_WIDE_CHARACTERS
# if defined(__cplusplus) && !defined(_LIBCPP_WCHAR_H_HAS_CONST_OVERLOADS) && defined(_LIBCPP_PREFERRED_OVERLOAD)
+# if defined(_AIX) && !defined(_LIBCPP_WCHAR_H_OVERLOADS)
----------------
jakeegan wrote:
This excludes the existing code below from non-AIX platforms, which seems to cause the CI failures.
https://github.com/llvm/llvm-project/pull/201432
More information about the libcxx-commits
mailing list