[libcxx-commits] [PATCH] D151740: [libc++] Include "bits/alltypes.h" to provide mbstate_t when using musl libc

Ian Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 30 11:30:02 PDT 2023


iana added a comment.

Thanks for doing this one!



================
Comment at: libcxx/include/__mbstate_t.h:39
+#if defined(_LIBCPP_HAS_MUSL_LIBC)
+#   define __NEED_mbstate_t
+#   include <bits/alltypes.h>
----------------
Should we undef this after including alltypes?


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