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/powerpc/include | |
parent | 91037c66c7afa846ca7d1c48ecedf89d3b4a0e57 (diff) | |
download | FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.zip FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.tar.gz |
Guard against redefining __gnuc_va_list.
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r-- | sys/powerpc/include/ansi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/ansi.h b/sys/powerpc/include/ansi.h index 0c31d4d..838502cc 100644 --- a/sys/powerpc/include/ansi.h +++ b/sys/powerpc/include/ansi.h @@ -82,7 +82,8 @@ typedef struct { } __va_list; #define _BSD_VA_LIST_ __va_list /* 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 |