diff options
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/ansi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/vax/include/ansi.h b/sys/arch/vax/include/ansi.h index b45ca1ded65..57d0e3ea77b 100644 --- a/sys/arch/vax/include/ansi.h +++ b/sys/arch/vax/include/ansi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ansi.h,v 1.9 2003/06/02 23:27:57 millert Exp $ */ +/* $OpenBSD: ansi.h,v 1.10 2004/01/03 14:08:53 espie Exp $ */ /* $NetBSD: ansi.h,v 1.7 1998/04/27 17:39:11 kleink Exp $ */ /*- @@ -51,7 +51,11 @@ #define _BSD_SIZE_T_ unsigned int /* sizeof() */ #define _BSD_SSIZE_T_ int /* byte count or error */ #define _BSD_TIME_T_ int /* time() */ +#if defined(__GNUC__) && __GNUC__ >= 3 +#define _BSD_VA_LIST_ __builtin_va_list +#else #define _BSD_VA_LIST_ char * /* va_list */ +#endif #define _BSD_WCHAR_T_ int /* wchar_t */ #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_CLOCKID_T_ int /* clockid_t */ |