summaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 11:25:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-24 11:25:46 +0000
commitc543d983fab4b9855ffe159d4ed9a31f8e41864f (patch)
tree36338a04e8b50b4ccfbc489d7b0d173075ecddd8 /sys/alpha/include
parent06bce47d34a1b69eca39ae7ea0873713d63a9234 (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/ansi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/include/ansi.h b/sys/alpha/include/ansi.h
index eccfad93ea63..0526982f4a06 100644
--- a/sys/alpha/include/ansi.h
+++ b/sys/alpha/include/ansi.h
@@ -81,7 +81,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