summaryrefslogtreecommitdiff
path: root/gcc/ginclude/varargs.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-01-13 20:08:55 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-01-13 20:08:55 +0000
commit8ab6bdda642dcb08fc1f9375b2a0b9eae1523af5 (patch)
tree254b3e5dac673d30aaf67569affbb28a64abf01e /gcc/ginclude/varargs.h
parent72d2d43eb12e812596cf019257ff84bce3e736f0 (diff)
downloadgcc-8ab6bdda642dcb08fc1f9375b2a0b9eae1523af5.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude/varargs.h')
-rw-r--r--gcc/ginclude/varargs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index a33aac1be60..30849b57885 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -58,9 +58,17 @@
/* The ... causes current_function_varargs to be set in cc1. */
#define va_dcl int __builtin_va_alist; __va_ellipsis
+/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */
+#ifndef _VA_LIST_
+/* The macro _VA_LIST is used in SCO Unix 3.2. */
+#ifndef _VA_LIST
+#define _VA_LIST_
+#define _VA_LIST
/* Make this a macro rather than a typedef, so we can undef any other defn. */
#define va_list __va___list
typedef char * __va___list;
+#endif /* _VA_LIST */
+#endif /* _VA_LIST_ */
#define va_start(AP) AP=(char *) &__builtin_va_alist