diff options
author | obrien <obrien@FreeBSD.org> | 2001-10-18 16:07:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-10-18 16:07:21 +0000 |
commit | 2b9b30364617025e5c2187bdd827adb490cb1a1e (patch) | |
tree | 19938edc6bf631e142a62bf3cf61ad10cf48d888 /sys/alpha/include/ansi.h | |
parent | 3e460fe553fc17f42d7da08ff4f3ac04d3fdddf7 (diff) | |
download | FreeBSD-src-2b9b30364617025e5c2187bdd827adb490cb1a1e.zip FreeBSD-src-2b9b30364617025e5c2187bdd827adb490cb1a1e.tar.gz |
My attempts at minimizing the number of #def's got me in trouble.
Diffstat (limited to 'sys/alpha/include/ansi.h')
-rw-r--r-- | sys/alpha/include/ansi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/alpha/include/ansi.h b/sys/alpha/include/ansi.h index 0aa285b..8338ce0 100644 --- a/sys/alpha/include/ansi.h +++ b/sys/alpha/include/ansi.h @@ -72,11 +72,8 @@ #define _BSD_OFF_T_ long /* file offset */ #define _BSD_PID_T_ int /* process [group] */ -#if defined __GNUC__ -#if (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95) +#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ > 95) #define _BSD_VA_LIST_ __builtin_va_list /* internally known to gcc */ -#endif -typedef _BSD_VA_LIST_ __gnuc_va_list; /* compatibility w/GNU headers*/ #else typedef struct { char *__base; @@ -84,7 +81,10 @@ typedef struct { int __pad; } __va_list; #define _BSD_VA_LIST_ __va_list /* va_list */ -#endif /*__GNUC__*/ +#endif /* post GCC 2.95 */ +#if defined __GNUC__ +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 |