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/0d466ac4ec0d
branches: trunk
changeset: 794988:0d466ac4ec0d
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 4c068251ab32 -r 0d466ac4ec0d 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