[libcxx-commits] [libcxx] [libc++] Simplify the implementation of <stddef.h> (PR #86843)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Apr 11 14:22:23 PDT 2024
================
@@ -36,16 +24,19 @@
*/
-# include <__config>
+#include <__config>
+
+// Note: This include is outside of header guards because we sometimes get included multiple times
+// with different defines and the underlying <stddef.h> will know how to deal with that.
+#include_next <stddef.h>
----------------
ldionne wrote:
https://github.com/llvm/llvm-project/issues/88441
https://github.com/llvm/llvm-project/pull/86843
More information about the libcxx-commits
mailing list