[libcxx-commits] [libcxx] [libc++] Move AIX and z/OS to the new locale API (PR #165024)

Zibi Sarbinowski via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 27 12:13:27 PDT 2025


================
@@ -0,0 +1,322 @@
+// -*- C++ -*-
+//===-----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP___LOCALE_DIR_SUPPORT_IBM_H
+#define _LIBCPP___LOCALE_DIR_SUPPORT_IBM_H
+
+#include <__config>
+#include <__fwd/string.h>
+#include <clocale>
+#include <cstdarg>
+#include <cstdio>
+#include <cstdlib>
+#include <cwctype>
+
+#if defined(__MVS__)
+#  include <__support/ibm/locale_mgmt_zos.h>
+#endif
----------------
zibi2 wrote:

Yes, you are correct. We still use it downstream. I will try to post my changes in few days.

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


More information about the libcxx-commits mailing list