summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 6ec9f311472..f273bb8c67f 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -406,14 +406,14 @@ collect_exit (status)
void
notice VPROTO((char *msgid, ...))
{
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
char *msgid;
#endif
va_list ap;
VA_START (ap, msgid);
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
msgid = va_arg (ap, char *);
#endif