diff options
author | Jason Merrill <jason@redhat.com> | 2018-05-23 13:13:30 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-05-23 13:13:30 -0400 |
commit | a6b29221604547ab14143081b45d955dd7a61a26 (patch) | |
tree | 4920bce5a87ce1393eb4caf1df87dc0ca14d3d9a /libcpp/system.h | |
parent | 3d76db63cdfd258ace95d12eaaf95db88bc1fa6e (diff) | |
download | gcc-a6b29221604547ab14143081b45d955dd7a61a26.zip gcc-a6b29221604547ab14143081b45d955dd7a61a26.tar.gz gcc-a6b29221604547ab14143081b45d955dd7a61a26.tar.bz2 |
* system.h: #include <new> earlier.
From-SVN: r260620
Diffstat (limited to 'libcpp/system.h')
-rw-r--r-- | libcpp/system.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpp/system.h b/libcpp/system.h index 76420e1..3fde817 100644 --- a/libcpp/system.h +++ b/libcpp/system.h @@ -37,6 +37,10 @@ along with GCC; see the file COPYING3. If not see #include <stdio.h> +#ifdef __cplusplus +#include <new> +#endif + /* Define a generic NULL if one hasn't already been defined. */ #ifndef NULL #define NULL 0 @@ -438,10 +442,6 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; /* Some compilers do not allow the use of unsigned char in bitfields. */ #define BOOL_BITFIELD unsigned int -#ifdef __cplusplus -#include <new> -#endif - /* Poison identifiers we do not want to use. */ #if (GCC_VERSION >= 3000) #undef calloc |