diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2016-02-23 15:57:09 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2016-02-23 15:57:09 +0000 |
commit | 5f6dd5930f5fc05b5727dd435a6604cb2dace883 (patch) | |
tree | cdee4f1454326d6f8291d20cc7eb9fe072cf26dc /libstdc++-v3/include/c_global | |
parent | d286e1e304ce158464cea88ae2defec0dbce12d7 (diff) | |
download | gcc-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/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cstdarg | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cstddef | 5 |
2 files changed, 6 insertions, 0 deletions
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> |