summaryrefslogtreecommitdiff
path: root/gcc/genattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r--gcc/genattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c
index 9c062b5d112..dd44fde6ba8 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -224,14 +224,14 @@ xrealloc (ptr, size)
static void
fatal VPROTO ((char *format, ...))
{
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
char *format;
#endif
va_list ap;
VA_START (ap, format);
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
format = va_arg (ap, char *);
#endif