From 1640869c311746f1c8d42ac3e9214bc068435462 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 26 Mar 2002 02:59:00 +0000 Subject: [PATCH] Get the guarding right. The IA-64 has a different organization for this than our other platforms. --- sys/ia64/include/ansi.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/ia64/include/ansi.h b/sys/ia64/include/ansi.h index 7ab82108bc82..472bf008f1ed 100644 --- a/sys/ia64/include/ansi.h +++ b/sys/ia64/include/ansi.h @@ -73,14 +73,13 @@ #ifdef __GNUC__ #define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */ -typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/ -#else -#error Must add va_list support for this non-GCC compiler. -#endif /*__GNUC__*/ -#if defined __GNUC__ && !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) +#if !defined(__GNUC_VA_LIST) && !defined(__NO_GNUC_VA_LIST) #define __GNUC_VA_LIST typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/ #endif +#else +#error Must add va_list support for this non-GCC compiler. +#endif /*__GNUC__*/ /* * The rune type above is declared to be an ``int'' instead of the more natural