projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c547e83
)
Check and define _ANSI_STDARG_H along with _STDARG_H.
author
Richard Stallman
<rms@gnu.org>
Wed, 21 Oct 1992 22:56:02 +0000
(22:56 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 21 Oct 1992 22:56:02 +0000
(22:56 +0000)
From-SVN: r2547
gcc/ginclude/stdarg.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/stdarg.h
b/gcc/ginclude/stdarg.h
index
c93240e
..
2101867
100644
(file)
--- 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 */