summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/alpha/alpha.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/config/alpha/alpha.h')
-rw-r--r--gnu/usr.bin/gcc/config/alpha/alpha.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/alpha/alpha.h b/gnu/usr.bin/gcc/config/alpha/alpha.h
index b179f1445a0..a4ff2e31272 100644
--- a/gnu/usr.bin/gcc/config/alpha/alpha.h
+++ b/gnu/usr.bin/gcc/config/alpha/alpha.h
@@ -2094,6 +2094,9 @@ do { \
/* The system headers under OSF/1 are C++-aware. */
#define NO_IMPLICIT_EXTERN_C
+/* Also define __LANGUAGE_C__ when running fix-header. */
+#define FIXPROTO_INIT(CPPFILE) cpp_define (CPPFILE, "__LANGUAGE_C__")
+
/* The linker will stick __main into the .init section. */
#define HAS_INIT_SECTION
#define LD_INIT_SWITCH "-init"