summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-16 01:59:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-01-16 01:59:42 +0000
commit47a2715c4e09a2a1206b1bd0b13923647c6fc58e (patch)
tree78d4f87317b8c17c60d279cc5f17e916bf2ccf98 /gcc/ginclude
parenta5e6450b035abcd8ce0a421d5ae25b07f7238fb5 (diff)
downloadgcc-47a2715c4e09a2a1206b1bd0b13923647c6fc58e.tar.gz
Add test for SCO Open Server 5.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/stdarg.h4
-rw-r--r--gcc/ginclude/varargs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index ca79a3e2d63..84141dcc1ec 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -120,7 +120,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#undef _BSD_VA_LIST
#endif
-#ifdef __svr4__
+#if defined(__svr4__) || defined(_SCO_DS)
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here.
SVR4 uses _VA_LIST as a flag in stdarg.h, but we should
@@ -134,7 +134,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif /* __i860__ */
typedef __gnuc_va_list va_list;
#endif /* _VA_LIST_ */
-#else /* not __svr4__ */
+#else /* not __svr4__ || _SCO_DS */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix.
But on BSD NET2 we must not test or define or undef it.
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index 691759e99ac..77e0ed22e9d 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -131,7 +131,7 @@ typedef void *__gnuc_va_list;
#undef _VA_LIST
#endif
-#ifdef __svr4__
+#if defined(__svr4__) || defined(_SCO_DS)
/* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here.
SVR4 uses _VA_LIST as a flag in stdarg.h, but we should
@@ -146,7 +146,7 @@ typedef void *__gnuc_va_list;
typedef __gnuc_va_list va_list;
#endif /* _VA_LIST_ */
-#else /* not __svr4__ */
+#else /* not __svr4__ || _SCO_DS */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix.
But on BSD NET2 we must not test or define or undef it.