[libcxx-commits] [libcxx] [libcxx] #199778: locale_base_api.h (PR #207569)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jul 5 02:36:26 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: cqwrteur (trcrsired)
<details>
<summary>Changes</summary>
According to issue #<!-- -->199778
PR#<!-- -->194317 broke the build for wasm since __MVS__ define guard was removed.
Try to add it back.
---
Full diff: https://github.com/llvm/llvm-project/pull/207569.diff
1 Files Affected:
- (modified) libcxx/include/__locale_dir/locale_base_api.h (+3-1)
``````````diff
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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/207569
More information about the libcxx-commits
mailing list