Module Name: src
Committed By: joerg
Date: Sat Mar 29 21:33:39 UTC 2014
Modified Files:
src/external/gpl3/gcc/dist/gcc: system.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/system.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/system.h
diff -u src/external/gpl3/gcc/dist/gcc/system.h:1.2 src/external/gpl3/gcc/dist/gcc/system.h:1.3
--- src/external/gpl3/gcc/dist/gcc/system.h:1.2 Sat Mar 1 09:44:50 2014
+++ src/external/gpl3/gcc/dist/gcc/system.h Sat Mar 29 21:33:39 2014
@@ -37,6 +37,12 @@ along with GCC; see the file COPYING3.
# include <stddef.h>
#endif
+#ifndef GENERATOR_FILE
+#ifdef __cplusplus
+# include <cstdio>
+#endif
+#endif
+
#include <stdio.h>
/* Define a generic NULL if one hasn't already been defined. */