summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-18 16:07:21 +0000
committerobrien <obrien@FreeBSD.org>2001-10-18 16:07:21 +0000
commit2b9b30364617025e5c2187bdd827adb490cb1a1e (patch)
tree19938edc6bf631e142a62bf3cf61ad10cf48d888 /sys/i386/include
parent3e460fe553fc17f42d7da08ff4f3ac04d3fdddf7 (diff)
downloadFreeBSD-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/i386/include')
-rw-r--r--sys/i386/include/ansi.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/include/ansi.h b/sys/i386/include/ansi.h
index c1ec23b..0870f35 100644
--- a/sys/i386/include/ansi.h
+++ b/sys/i386/include/ansi.h
@@ -71,14 +71,14 @@
#define _BSD_OFF_T_ __int64_t /* 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
#define _BSD_VA_LIST_ char * /* 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
OpenPOWER on IntegriCloud