diff options
author | Richard Stallman <rms@gnu.org> | 1992-06-26 11:59:23 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-06-26 11:59:23 +0000 |
commit | 21d7516d93aaad8b9760f77be8169582c7975964 (patch) | |
tree | 7c7a5767953f8b3de07d0474d6eadb5e4820d1d3 /gcc | |
parent | 42495ca044a8ecaf057eb4a6c82a47a562576ab8 (diff) | |
download | gcc-21d7516d93aaad8b9760f77be8169582c7975964.zip gcc-21d7516d93aaad8b9760f77be8169582c7975964.tar.gz gcc-21d7516d93aaad8b9760f77be8169582c7975964.tar.bz2 |
*** empty log message ***
From-SVN: r1297
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ginclude/varargs.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index 214bf6d..a962a2fe 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -83,7 +83,7 @@ typedef char * __va___list; /* In 4.3bsd-net2, it is said we must #undef this. I hope this successfully identifies that system. I don't know why this works--rms. */ -#ifdef _ANSI_H +#ifdef _ANSI_H_ #undef _VA_LIST_ #endif @@ -107,4 +107,24 @@ typedef char * __va___list; #endif /* not spur */ #endif /* not sparc */ #endif /* not _VARARGS_H */ + +#ifdef __GNUC_VA_LIST +/* If an include file defined __GNUC_VA_LIST, + copy it into va_list. */ + +#ifdef _HIDDEN_VA_LIST /* On OSF1, this means varargs.h is "half-loaded". */ +#undef _VA_LIST +#endif + +/* 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 +typedef __gnuc_va_list va_list; +#endif /* _VA_LIST */ +#endif /* _VA_LIST_ */ +#endif /* __GNUC_VA_LIST */ + #endif /* __GNUC__ */ |