Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc Before messing with macros from s...
details: https://anonhg.NetBSD.org/src/rev/f154cf0b5885
branches: trunk
changeset: 328248:f154cf0b5885
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Mar 29 21:33:39 2014 +0000
description:
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.
diffstat:
external/gpl3/gcc/dist/gcc/system.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 365615b89d25 -r f154cf0b5885 external/gpl3/gcc/dist/gcc/system.h
--- a/external/gpl3/gcc/dist/gcc/system.h Sat Mar 29 21:27:40 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/system.h Sat Mar 29 21:33:39 2014 +0000
@@ -37,6 +37,12 @@
# 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. */
Home |
Main Index |
Thread Index |
Old Index