summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/ansi.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/ansi.h')
-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 eccfad9..0526982 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
OpenPOWER on IntegriCloud