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:
cc92726
)
(VPROTO, VA_START): Define.
author
Doug Evans
<dje@gnu.org>
Sat, 12 Feb 1994 00:51:50 +0000
(
00:51
+0000)
committer
Doug Evans
<dje@gnu.org>
Sat, 12 Feb 1994 00:51:50 +0000
(
00:51
+0000)
From-SVN: r6532
gcc/gcc.c
patch
|
blob
|
history
diff --git
a/gcc/gcc.c
b/gcc/gcc.c
index
eef2750
..
b63deff
100644
(file)
--- a/
gcc/gcc.c
+++ b/
gcc/gcc.c
@@
-51,6
+51,16
@@
compilation is specified by a string called a "spec". */
#define X_OK 1
#endif
+#ifndef VPROTO
+#ifdef __STDC__
+#define VPROTO(ARGS) ARGS
+#define VA_START(va_list,var) va_start(va_list,var)
+#else
+#define VPROTO(ARGS) (va_alist) va_dcl
+#define VA_START(va_list,var) va_start(va_list)
+#endif
+#endif
+
/* Define a generic NULL if one hasn't already been defined. */
#ifndef NULL