diff options
Diffstat (limited to 'sys/ia64/include/ansi.h')
-rw-r--r-- | sys/ia64/include/ansi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ia64/include/ansi.h b/sys/ia64/include/ansi.h index 6c15635..7ab8210 100644 --- a/sys/ia64/include/ansi.h +++ b/sys/ia64/include/ansi.h @@ -73,10 +73,14 @@ #ifdef __GNUC__ #define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */ -typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/ +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) +#define __GNUC_VA_LIST +typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/ +#endif /* * The rune type above is declared to be an ``int'' instead of the more natural |