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 50db524 commit b03ddf3Copy full SHA for b03ddf3
libc/include/llvm-libc-macros/limits-macros.h
@@ -19,8 +19,9 @@
19
#pragma GCC system_header
20
#endif // __clang__, __GNUC__
21
22
-#if defined(__GNUC__) && !defined(_GCC_LIMITS_H_)
23
-// The system's limits.h may, in turn, try to #include_next GCC's limits.h.
+#if defined(__GNUC__) && !defined(__clang__) && !defined(_GCC_LIMITS_H_)
+// The system's limits.h may, in turn, try to #include_next GCC's limits.h when
24
+// building with GCC.
25
// Define the macro _GCC_LIMITS_H_ to stop its chains of #include_next.
26
#define _GCC_LIMITS_H_
27
#endif
0 commit comments