https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881

--- Comment #7 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Index: include/c_global/cstddef
===================================================================
--- include/c_global/cstddef    (revision 233581)
+++ include/c_global/cstddef    (working copy)
@@ -41,6 +41,12 @@

 #pragma GCC system_header

+#undef __need_wchar_t
+#undef __need_size_t
+#undef __need_ptrdiff_t
+#undef __need_NULL
+#undef __need_wint_t
+
 #include <bits/c++config.h>
 #include <stddef.h>

Index: include/c_std/cstddef
===================================================================
--- include/c_std/cstddef       (revision 233581)
+++ include/c_std/cstddef       (working copy)
@@ -41,6 +41,12 @@

 #pragma GCC system_header

+#undef __need_wchar_t
+#undef __need_size_t
+#undef __need_ptrdiff_t
+#undef __need_NULL
+#undef __need_wint_t
+
 #include <bits/c++config.h>
 #include <stddef.h>

like this?

Reply via email to