From 0e80d9e124d7b03bc276daf8c0bf21d1ce27fc3d Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 29 Mar 2014 21:33:39 +0000 Subject: [PATCH] Before messing with macros from stdio.h, include cstdio. Some parts of the backend would include it afterwards and the macro changes conflict with libc++'s version of cstdio. --- external/gpl3/gcc/dist/gcc/system.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/external/gpl3/gcc/dist/gcc/system.h b/external/gpl3/gcc/dist/gcc/system.h index f3ac99860093..b9d8fe468718 100644 --- a/external/gpl3/gcc/dist/gcc/system.h +++ b/external/gpl3/gcc/dist/gcc/system.h @@ -37,6 +37,12 @@ along with GCC; see the file COPYING3. If not see # include #endif +#ifndef GENERATOR_FILE +#ifdef __cplusplus +# include +#endif +#endif + #include /* Define a generic NULL if one hasn't already been defined. */