(VPROTO, VA_START): Define.
authorDoug Evans <dje@gnu.org>
Sat, 12 Feb 1994 00:51:50 +0000 (00:51 +0000)
committerDoug Evans <dje@gnu.org>
Sat, 12 Feb 1994 00:51:50 +0000 (00:51 +0000)
From-SVN: r6532

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