Commit 6ed0be92 by Richard Stallman

Check and define _ANSI_STDARG_H along with _STDARG_H.

From-SVN: r2547
parent c547e838
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
Thus, va_arg (..., short) is not valid. */ Thus, va_arg (..., short) is not valid. */
#ifndef _STDARG_H #ifndef _STDARG_H
#ifndef _ANSI_STDARG_H
#ifndef __need___va_list #ifndef __need___va_list
#define _STDARG_H #define _STDARG_H
#endif #define _ANSI_STDARG_H
#endif /* not __need___va_list */
#undef __need___va_list #undef __need___va_list
#ifndef __GNUC__ #ifndef __GNUC__
...@@ -118,4 +120,5 @@ typedef __gnuc_va_list va_list; ...@@ -118,4 +120,5 @@ typedef __gnuc_va_list va_list;
#endif /* _STDARG_H */ #endif /* _STDARG_H */
#endif /* __GNUC__ */ #endif /* __GNUC__ */
#endif /* not _ANSI_STDARG_H */
#endif /* not _STDARG_H */ #endif /* not _STDARG_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment