OSDN Git Service

Check and define _ANSI_STDARG_H along with _STDARG_H.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 1992 22:56:02 +0000 (22:56 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Oct 1992 22:56:02 +0000 (22:56 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2547 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ginclude/stdarg.h

index c93240e..2101867 100644 (file)
@@ -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 */