Commit d33fc50c by Richard Kenner

Add test for SCO Open Server 5.

From-SVN: r11012
parent de93b355
...@@ -120,7 +120,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ ...@@ -120,7 +120,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#undef _BSD_VA_LIST #undef _BSD_VA_LIST
#endif #endif
#ifdef __svr4__ #if defined(__svr4__) || defined(_SCO_DS)
/* SVR4.2 uses _VA_LIST for an internal alias for va_list, /* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here. so we must avoid testing it and setting it here.
SVR4 uses _VA_LIST as a flag in stdarg.h, but we should 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 */ ...@@ -134,7 +134,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif /* __i860__ */ #endif /* __i860__ */
typedef __gnuc_va_list va_list; typedef __gnuc_va_list va_list;
#endif /* _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. /* 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. But on BSD NET2 we must not test or define or undef it.
......
...@@ -131,7 +131,7 @@ typedef void *__gnuc_va_list; ...@@ -131,7 +131,7 @@ typedef void *__gnuc_va_list;
#undef _VA_LIST #undef _VA_LIST
#endif #endif
#ifdef __svr4__ #if defined(__svr4__) || defined(_SCO_DS)
/* SVR4.2 uses _VA_LIST for an internal alias for va_list, /* SVR4.2 uses _VA_LIST for an internal alias for va_list,
so we must avoid testing it and setting it here. so we must avoid testing it and setting it here.
SVR4 uses _VA_LIST as a flag in stdarg.h, but we should SVR4 uses _VA_LIST as a flag in stdarg.h, but we should
...@@ -146,7 +146,7 @@ typedef void *__gnuc_va_list; ...@@ -146,7 +146,7 @@ typedef void *__gnuc_va_list;
typedef __gnuc_va_list va_list; typedef __gnuc_va_list va_list;
#endif /* _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. /* 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. But on BSD NET2 we must not test or define or undef it.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment