[libcxx-commits] [libcxx] [libcxx] Do not include `langinfo.h` when using the LLVM C library (PR #106634)
Joseph Huber via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 30 06:49:17 PDT 2024
================
@@ -34,7 +34,8 @@
# define _CTYPE_DISABLE_MACROS
#endif
-#if !defined(_LIBCPP_MSVCRT) && !defined(__MINGW32__) && !defined(__BIONIC__) && !defined(__NuttX__)
+#if !defined(_LIBCPP_MSVCRT) && !defined(__MINGW32__) && !defined(__BIONIC__) && !defined(__NuttX__) || \
+ defined(__LLVM_LIBC__)
# include <langinfo.h>
#endif
----------------
jhuber6 wrote:
Updated, guess we'll see if this passes CI.
https://github.com/llvm/llvm-project/pull/106634
More information about the libcxx-commits
mailing list