[libcxx-commits] [PATCH] D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc
Pengxuan Zheng via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 30 13:18:34 PDT 2023
pzheng marked an inline comment as done.
pzheng added inline comments.
================
Comment at: libcxx/include/__mbstate_t.h:39
+#if defined(_LIBCPP_HAS_MUSL_LIBC)
+# define __NEED_mbstate_t
+# include <bits/alltypes.h>
----------------
iana wrote:
> Should we undef this after including alltypes?
That's a good point! I just added undef in the latest revision.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151740/new/
https://reviews.llvm.org/D151740
More information about the libcxx-commits
mailing list