diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-24 11:25:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-24 11:25:46 +0000 |
commit | 8842976cdd6c89916f7799133a97e4f32b4ad3c8 (patch) | |
tree | 36338a04e8b50b4ccfbc489d7b0d173075ecddd8 /sys/arm | |
parent | 91037c66c7afa846ca7d1c48ecedf89d3b4a0e57 (diff) | |
download | FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.zip FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.tar.gz |
Guard against redefining __gnuc_va_list.
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/include/ansi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/include/ansi.h b/sys/arm/include/ansi.h index 8e7a9bd..8d5cdba 100644 --- a/sys/arm/include/ansi.h +++ b/sys/arm/include/ansi.h @@ -74,7 +74,8 @@ #else #define _BSD_VA_LIST_ char * /* va_list */ #endif /* post GCC 2.95 */ -#ifdef __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 |