aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-21 22:56:02 +0000
committerRichard Stallman <rms@gnu.org>1992-10-21 22:56:02 +0000
commit6ed0be929c6f3c47e3148a79e3b77b9dd25a383e (patch)
tree15931e7721419e153590104138cc9c32803624f2
parentc547e838e1a04186228444829cdf74e45f494e77 (diff)
downloadgcc-6ed0be929c6f3c47e3148a79e3b77b9dd25a383e.zip
gcc-6ed0be929c6f3c47e3148a79e3b77b9dd25a383e.tar.gz
gcc-6ed0be929c6f3c47e3148a79e3b77b9dd25a383e.tar.bz2
Check and define _ANSI_STDARG_H along with _STDARG_H.
From-SVN: r2547
-rw-r--r--gcc/ginclude/stdarg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index c93240e..2101867 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -4,9 +4,11 @@
Thus, va_arg (..., short) is not valid. */
#ifndef _STDARG_H
+#ifndef _ANSI_STDARG_H
#ifndef __need___va_list
#define _STDARG_H
-#endif
+#define _ANSI_STDARG_H
+#endif /* not __need___va_list */
#undef __need___va_list
#ifndef __GNUC__
@@ -118,4 +120,5 @@ typedef __gnuc_va_list va_list;
#endif /* _STDARG_H */
#endif /* __GNUC__ */
+#endif /* not _ANSI_STDARG_H */
#endif /* not _STDARG_H */