2016-02-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
authoredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Feb 2016 15:57:09 +0000 (15:57 +0000)
committeredlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Feb 2016 15:57:09 +0000 (15:57 +0000)
        PR libstdc++/69881
        * include/c_global/cstdarg: Undefine __need___va_list.
        * include/c_global/cstddef: Undefine all kinds of __need_*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233636 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cstdarg
libstdc++-v3/include/c_global/cstddef

index be4e95c..97170cd 100644 (file)
@@ -1,3 +1,9 @@
+2016-02-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       PR libstdc++/69881
+       * include/c_global/cstdarg: Undefine __need___va_list.
+       * include/c_global/cstddef: Undefine all kinds of __need_*.
+
 2016-02-16  Tim Shen  <timshen@google.com>
 
        PR libstdc++/69794
index 390e1a2..46cf5a2 100644 (file)
@@ -38,6 +38,7 @@
 
 #pragma GCC system_header
 
+#undef __need___va_list
 #include <bits/c++config.h>
 #include <stdarg.h>
 
index e55bc82..1739121 100644 (file)
 
 #pragma GCC system_header
 
+#undef __need_wchar_t
+#undef __need_ptrdiff_t
+#undef __need_size_t
+#undef __need_NULL
+#undef __need_wint_t
 #include <bits/c++config.h>
 #include <stddef.h>