Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.

This commit is contained in:
Rob Landley 2006-09-12 20:29:22 +00:00
parent 16bbb20089
commit 1b2b5cfba8

View File

@ -83,6 +83,14 @@
# endif
#endif
/* gcc-2.95 had no va_copy but only __va_copy. */
#if !__GNUC_PREREQ (3,0)
# include <stdarg.h>
# if !defined va_copy && defined __va_copy
# define va_copy(d,s) __va_copy((d),(s))
# endif
#endif
/* ---- Endian Detection ------------------------------------ */
#if (defined __digital__ && defined __unix__)