aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2016-02-23 15:57:09 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2016-02-23 15:57:09 +0000
commit5f6dd5930f5fc05b5727dd435a6604cb2dace883 (patch)
treecdee4f1454326d6f8291d20cc7eb9fe072cf26dc /libstdc++-v3
parentd286e1e304ce158464cea88ae2defec0dbce12d7 (diff)
downloadgcc-5f6dd5930f5fc05b5727dd435a6604cb2dace883.zip
gcc-5f6dd5930f5fc05b5727dd435a6604cb2dace883.tar.gz
gcc-5f6dd5930f5fc05b5727dd435a6604cb2dace883.tar.bz2
re PR libstdc++/69881 (with gcc-6 of today building gcc-4.9 fails)
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_*. From-SVN: r233636
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/c_global/cstdarg1
-rw-r--r--libstdc++-v3/include/c_global/cstddef5
3 files changed, 12 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index be4e95c..97170cd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/include/c_global/cstdarg b/libstdc++-v3/include/c_global/cstdarg
index 390e1a2..46cf5a2 100644
--- a/libstdc++-v3/include/c_global/cstdarg
+++ b/libstdc++-v3/include/c_global/cstdarg
@@ -38,6 +38,7 @@
#pragma GCC system_header
+#undef __need___va_list
#include <bits/c++config.h>
#include <stdarg.h>
diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef
index e55bc820..1739121 100644
--- a/libstdc++-v3/include/c_global/cstddef
+++ b/libstdc++-v3/include/c_global/cstddef
@@ -41,6 +41,11 @@
#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>