[libcxx-commits] [libcxx] [libcxx] #199778: locale_base_api.h (PR #207569)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 5 02:35:54 PDT 2026
https://github.com/trcrsired created https://github.com/llvm/llvm-project/pull/207569
According to issue #199778
PR#194317 broke the build for wasm since __MVS__ define guard was removed.
Try to add it back.
>From f7c39f158d20e9e0a991a33925a8bad05fbcf0a4 Mon Sep 17 00:00:00 2001
From: trcrsired <oyzawqgcfc at gmail.com>
Date: Sun, 5 Jul 2026 17:29:22 +0800
Subject: [PATCH] [libcxx] #199778: locale_base_api.h
According to issue #199778
PR#194317 broke the build for wasm since __MVS__ define guard
was removed.
Try to add it back.
---
libcxx/include/__locale_dir/locale_base_api.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libcxx/include/__locale_dir/locale_base_api.h b/libcxx/include/__locale_dir/locale_base_api.h
index f973d95ef244d..79df29c7470d9 100644
--- a/libcxx/include/__locale_dir/locale_base_api.h
+++ b/libcxx/include/__locale_dir/locale_base_api.h
@@ -134,7 +134,9 @@
// (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.
-# include <__locale_dir/locale_base_api/ibm.h>
+# ifdef __MVS__
+# include <__locale_dir/locale_base_api/ibm.h>
+# endif
# include <__locale_dir/locale_base_api/bsd_locale_fallbacks.h>
More information about the libcxx-commits
mailing list