diff options
author | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-23 15:57:09 +0000 |
---|---|---|
committer | edlinger <edlinger@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-23 15:57:09 +0000 |
commit | 1347328823fba58215ae16afe5b409ae18ca3abd (patch) | |
tree | cdee4f1454326d6f8291d20cc7eb9fe072cf26dc /libstdc++-v3/include | |
parent | 43b3fc7da8bb61d8f1c3d769b19dae4dd1b762bf (diff) |
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_*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-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 390e1a2296e..46cf5a274a5 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 e55bc820cb8..1739121001e 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> |