We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f892007 commit a876988Copy full SHA for a876988
libcxx/include/__configuration/platform.h
@@ -43,9 +43,14 @@
43
#endif
44
45
// TODO: Remove this deprecated behavior after LLVM 22 release
46
-// To build libc++ with picolibc provide RUNTIMES_USE_LIBC=picolibc
47
-#if __has_include(<picolibc.h>)
+#if __has_include(<picolibc.h>) && !defined(LIBCXX_LIBC_NEWLIB)
48
# define LIBCXX_LIBC_NEWLIB
+
49
+# if defined(__clang__) || defined(__GNUC__)
50
+# warning "To build libc++ with picolibc provide RUNTIMES_USE_LIBC=picolibc"
51
+# else
52
+# pragma message("To build libc++ with picolibc provide RUNTIMES_USE_LIBC=picolibc")
53
+# endif
54
55
56
#ifndef __BYTE_ORDER__
0 commit comments