- small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy.

This commit is contained in:
Bernhard Reutner-Fischer
2006-09-12 13:27:55 +00:00
parent 428a5cd0d3
commit b5f50ea344
5 changed files with 10 additions and 19 deletions

View File

@@ -75,6 +75,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__)