summaryrefslogtreecommitdiff
path: root/gcc/config/sh/newlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sh/newlib.h')
-rw-r--r--gcc/config/sh/newlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sh/newlib.h b/gcc/config/sh/newlib.h
index 13099c1f8d9..3b3ec1651f1 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
+