[libcxx-commits] [libcxx] [libc++] Allow building libc++ using llvm-libc without locale support (PR #187603)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 21 09:06:30 PDT 2026


================
@@ -39,6 +39,8 @@
 #  define __NEED_mbstate_t
 #  include <bits/alltypes.h>
 #  undef __NEED_mbstate_t
+#elif _LIBCPP_LIBC_LLVM_LIBC
+#  include <llvm-libc-types/mbstate_t.h>
----------------
ldionne wrote:

Where is that header? Is that shipped in e.g. `/usr/include`? If so, then I think this is OK.

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


More information about the libcxx-commits mailing list