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/sparc64/include | |
parent | 91037c66c7afa846ca7d1c48ecedf89d3b4a0e57 (diff) | |
download | FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.zip FreeBSD-src-8842976cdd6c89916f7799133a97e4f32b4ad3c8.tar.gz |
Guard against redefining __gnuc_va_list.
Diffstat (limited to 'sys/sparc64/include')
-rw-r--r-- | sys/sparc64/include/ansi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/include/ansi.h b/sys/sparc64/include/ansi.h index 8b3092c..e99a79d 100644 --- a/sys/sparc64/include/ansi.h +++ b/sys/sparc64/include/ansi.h @@ -76,7 +76,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 |