diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-09-04 10:16:29 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-09-04 10:16:29 +0100 |
commit | 57003677cf4f7422afdbd2845f15a71303e414e1 (patch) | |
tree | 7ab55f2878d6fb1a887abab23771524ee4745ffd /libstdc++-v3/include/c_global | |
parent | 938c4af0a92b457b5f841e9f6d4669339b40b74a (diff) | |
download | gcc-57003677cf4f7422afdbd2845f15a71303e414e1.tar.gz |
Make all <cxxx> headers include <bits/c++config.h>
PR libstdc++/65473
* include/c/cassert: Include <bits/c++config.h>.
* include/c/cerrno: Likewise.
* include/c/cfloat: Likewise.
* include/c/ciso646: Likewise.
* include/c/climits: Likewise.
* include/c_global/cassert: Likewise.
* include/c_global/cerrno: Likewise.
* include/c_global/cfloat: Likewise.
* include/c_global/ciso646: Likewise.
* include/c_global/climits: Likewise.
* include/c_std/cassert: Likewise.
* include/c_std/cerrno: Likewise.
* include/c_std/cfloat: Likewise.
* include/c_std/ciso646: Likewise.
* include/c_std/climits: Likewise.
From-SVN: r227484
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cassert | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cerrno | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cfloat | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/ciso646 | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/climits | 1 |
5 files changed, 12 insertions, 3 deletions
diff --git a/libstdc++-v3/include/c_global/cassert b/libstdc++-v3/include/c_global/cassert index e555a3857f0..f404560d876 100644 --- a/libstdc++-v3/include/c_global/cassert +++ b/libstdc++-v3/include/c_global/cassert @@ -40,4 +40,5 @@ #pragma GCC system_header +#include <bits/c++config.h> #include <assert.h> diff --git a/libstdc++-v3/include/c_global/cerrno b/libstdc++-v3/include/c_global/cerrno index 7060b1e1e98..9f173c50a58 100644 --- a/libstdc++-v3/include/c_global/cerrno +++ b/libstdc++-v3/include/c_global/cerrno @@ -38,6 +38,7 @@ #pragma GCC system_header +#include <bits/c++config.h> #include <errno.h> #ifndef _GLIBCXX_CERRNO diff --git a/libstdc++-v3/include/c_global/cfloat b/libstdc++-v3/include/c_global/cfloat index 2c4ae284c16..50f7d3d5442 100644 --- a/libstdc++-v3/include/c_global/cfloat +++ b/libstdc++-v3/include/c_global/cfloat @@ -38,6 +38,7 @@ #pragma GCC system_header +#include <bits/c++config.h> #include <float.h> #ifndef _GLIBCXX_CFLOAT diff --git a/libstdc++-v3/include/c_global/ciso646 b/libstdc++-v3/include/c_global/ciso646 index 818db67db0a..93fded401cd 100644 --- a/libstdc++-v3/include/c_global/ciso646 +++ b/libstdc++-v3/include/c_global/ciso646 @@ -27,7 +27,12 @@ * in your programs, rather than any of the @a *.h implementation files. * * This is the C++ version of the Standard C Library header @c iso646.h, - * and its contents are (mostly) the same as that header, but are all - * contained in the namespace @c std (except for names which are defined - * as macros in C). + * which is empty in C++. */ +#ifndef _GLIBCXX_CISO646 +#define _GLIBCXX_CISO646 + +#pragma GCC system_header + +#include <bits/c++config.h> +#endif diff --git a/libstdc++-v3/include/c_global/climits b/libstdc++-v3/include/c_global/climits index e3da66ce13e..d6e7994a894 100644 --- a/libstdc++-v3/include/c_global/climits +++ b/libstdc++-v3/include/c_global/climits @@ -38,6 +38,7 @@ #pragma GCC system_header +#include <bits/c++config.h> #include <limits.h> #ifndef _GLIBCXX_CLIMITS |