From baeef6a1f9dd6ffb1a1b0a2697d5bc13cf3217a0 Mon Sep 17 00:00:00 2001 From: Christian Bruel Date: Wed, 12 Sep 2012 15:05:25 +0200 Subject: newlib.h (NO_IMPLICIT_EXTERN_C): Define. * config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r191219 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/newlib.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ce9a306..e0cde7b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-27 Christian Bruel + + * config/sh/newlib.h (NO_IMPLICIT_EXTERN_C): Define. + 2012-09-12 Rainer Orth * rtl.h (FFS, FLOAT, ABS, PC): Don't undef. diff --git a/gcc/config/sh/newlib.h b/gcc/config/sh/newlib.h index 13099c1..3b3ec16 100644 --- a/gcc/config/sh/newlib.h +++ b/gcc/config/sh/newlib.h @@ -23,3 +23,7 @@ along with GCC; see the file COPYING3. If not see #undef LIB_SPEC #define LIB_SPEC "-lc -lgloss" + +#undef NO_IMPLICIT_EXTERN_C +#define NO_IMPLICIT_EXTERN_C 1 + -- cgit v1.1