[libcxx-commits] [libcxx] [libcxx] Use the default rune table when using the LLVM libc (PR #106632)

Joseph Huber via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 29 14:20:01 PDT 2024


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/106632

Summary:
We currently do not provide a more complicated run table, so we want the
default.


>From 1e8b89cbde854a075aa413b2278cfd959c27fa81 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Fri, 9 Aug 2024 21:33:06 -0500
Subject: [PATCH] [libcxx] Use the default rune table when using the LLVM libc

Summary:
We currently do not provide a more complicated run table, so we want the
default.
---
 libcxx/include/__config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/include/__config b/libcxx/include/__config
index 9dd8d46b48d28f..b8ec905a5cbfa6 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -888,7 +888,7 @@ typedef __char32_t char32_t;
 #  endif
 
 #  if defined(__BIONIC__) || defined(__NuttX__) || defined(__Fuchsia__) || defined(__wasi__) ||                        \
-      defined(_LIBCPP_HAS_MUSL_LIBC) || defined(__OpenBSD__)
+      defined(_LIBCPP_HAS_MUSL_LIBC) || defined(__OpenBSD__) || defined(__LLVM_LIBC__)
 #    define _LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE
 #  endif
 



More information about the libcxx-commits mailing list