diff options
-rw-r--r-- | include/platform.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index fdaf50920..fa7749b39 100644 --- a/include/platform.h +++ b/include/platform.h @@ -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__) |