va_list.h: New file.
authorRichard Henderson <rth@cygnus.com>
Mon, 31 Aug 1998 13:59:22 +0000 (06:59 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 31 Aug 1998 13:59:22 +0000 (06:59 -0700)
        * alpha/va_list.h: New file.
        * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.

From-SVN: r22137

gcc/ChangeLog
gcc/config/alpha/va_list.h [new file with mode: 0644]
gcc/config/alpha/x-alpha

index bce4407c0942869e9653a3faa0361b20c8c6631a..36aef984518b522a97c43c877a615bfe98be08a9 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
+
+       * alpha/va_list.h: New file.
+       * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
+
 Mon Aug 31 14:55:02 1998  Jeffrey A Law  (law@cygnus.com)
 
        * NEWS: Fix typos.
diff --git a/gcc/config/alpha/va_list.h b/gcc/config/alpha/va_list.h
new file mode 100644 (file)
index 0000000..c9ab2b0
--- /dev/null
@@ -0,0 +1,16 @@
+/* A replacement for Digital Unix's <va_list.h>.  */
+
+#include <va-alpha.h>
+
+#if !defined(_VA_LIST) && !defined(_HIDDEN_VA_LIST)
+#define _VA_LIST
+typedef __gnuc_va_list va_list;
+
+#elif defined(_HIDDEN_VA_LIST) && !defined(_HIDDEN_VA_LIST_DONE)
+#define _HIDDEN_VA_LIST_DONE
+typedef __gnuc_va_list __va_list;
+
+#elif defined(_HIDDEN_VA_LIST) && defined(_VA_LIST)
+#undef _HIDDEN_VA_LIST
+
+#endif
index 99197479798075659cf08849156806373ab7237e..9686ab96472acf240add40fed9b44e57b6ecf175 100644 (file)
@@ -1 +1,2 @@
 CLIB=-lmld
+EXTRA_HEADERS = $(srcdir)/config/alpha/va_list.h