[libcxx-commits] [libcxx] [libc++][z/OS] Move z/OS to new locale API and resolve all name collisions (PR #165428)

Zibi Sarbinowski via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 29 06:41:16 PDT 2025


================
@@ -121,13 +124,15 @@
 #    include <__locale_dir/support/fuchsia.h>
 #  elif defined(__linux__)
 #    include <__locale_dir/support/linux.h>
+#  elif defined(__MVS__)
+#    include <__locale_dir/support/zos.h>
 #  else
 
 // TODO: This is a temporary definition to bridge between the old way we defined the locale base API
 //       (by providing global non-reserved names) and the new API. As we move individual platforms
 //       towards the new way of defining the locale base API, this should disappear since each platform
 //       will define those directly.
-#    if defined(_AIX) || defined(__MVS__)
+#    if defined(_AIX)
----------------
zibi2 wrote:

I asked @xingxue-ibm to look into it and will let him to decide whether to use separate or same PR for AIX.

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


More information about the libcxx-commits mailing list