[libc-commits] [libc] [libc] fix aarch64 GCC build (PR #97932)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Sun Jul 7 11:52:06 PDT 2024
================
@@ -15,6 +15,12 @@
#else // Overlay mode
+// GCC will include CXX headers when __cplusplus is defined. This behavior
+// can be suppressed by defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS.
+#include "src/__support/macros/properties/compiler.h"
+#ifdef LIBC_COMPILER_IS_GCC
----------------
SchrodingerZhu wrote:
done
https://github.com/llvm/llvm-project/pull/97932
More information about the libc-commits
mailing list