aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/stdarg.h
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-12-16 20:00:15 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-16 13:00:15 -0700
commite9818f3c2824e7dd8f4df760520bc9792daac52c (patch)
tree912d80502db1a6202ae9af78b2c162bdc804b3f3 /gcc/ginclude/stdarg.h
parent6748b6439831974f000c6c51d64af89262112463 (diff)
downloadgcc-e9818f3c2824e7dd8f4df760520bc9792daac52c.zip
gcc-e9818f3c2824e7dd8f4df760520bc9792daac52c.tar.gz
gcc-e9818f3c2824e7dd8f4df760520bc9792daac52c.tar.bz2
stdarg.h: Undo BeOS changes, they break hpux.
* ginclude/stdarg.h: Undo BeOS changes, they break hpux. * ginclude/varargs.h: Likewise. From-SVN: r17116
Diffstat (limited to 'gcc/ginclude/stdarg.h')
-rw-r--r--gcc/ginclude/stdarg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index 71673fb..24f3383 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -64,7 +64,7 @@
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
-#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__) || defined (__BEOS__)
+#if defined(__svr4__) || defined(_AIX) || defined(_M_UNIX) || defined(__NetBSD__)
typedef char *__gnuc_va_list;
#else
typedef void *__gnuc_va_list;
@@ -178,9 +178,7 @@ typedef __gnuc_va_list va_list;
#ifndef _VA_LIST
/* The macro _VA_LIST_T_H is used in the Bull dpx2 */
#ifndef _VA_LIST_T_H
-#ifndef __va_list__
typedef __gnuc_va_list va_list;
-#endif /* not __va_list__ */
#endif /* not _VA_LIST_T_H */
#endif /* not _VA_LIST */
#endif /* not _VA_LIST_DEFINED */
@@ -196,9 +194,6 @@ typedef __gnuc_va_list va_list;
#ifndef _VA_LIST_T_H
#define _VA_LIST_T_H
#endif
-#ifndef __va_list__
-#define __va_list__ /* BeOS */
-#endif
#endif /* not _VA_LIST_, except on certain systems */