summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/include/ansi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/ansi.h b/sys/arch/alpha/include/ansi.h
index 13755b90ffb..e460b0f6593 100644
--- a/sys/arch/alpha/include/ansi.h
+++ b/sys/arch/alpha/include/ansi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ansi.h,v 1.10 2003/06/02 23:27:43 millert Exp $ */
+/* $OpenBSD: ansi.h,v 1.11 2004/01/03 14:08:52 espie Exp $ */
/* $NetBSD: ansi.h,v 1.6 1996/11/15 22:38:45 jtc Exp $ */
/*-
@@ -54,7 +54,11 @@ typedef struct {
int offset;
int pad;
} __va_list;
+#if defined(__GNUC__) && __GNUC__ >= 3
+#define _BSD_VA_LIST_ __builtin_va_list
+#else
#define _BSD_VA_LIST_ __va_list /* va_list */
+#endif
#define _BSD_CLOCKID_T_ int
#define _BSD_TIMER_T_ int