diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-02-21 23:53:15 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-02-21 23:53:15 +0000 |
commit | 017c23a42625202487bd94088d9551145aadac04 (patch) | |
tree | 17804f509391e1f007ab401ec328b877d010ea68 /gcc/ginclude/stdarg.h | |
parent | 7cd1b818dba3115e42320384ceb86a554f6615f2 (diff) | |
download | gcc-017c23a42625202487bd94088d9551145aadac04.tar.gz |
Test _VA_LIST_DEFINED macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9014 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude/stdarg.h')
-rw-r--r-- | gcc/ginclude/stdarg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 1c6e1fc8ea3..e434a263086 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -137,6 +137,8 @@ typedef __gnuc_va_list va_list; (Note that the comments in NET 2's ansi.h are incorrect for _VA_LIST_--see stdio.h!) */ #if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__FreeBSD__) +/* The macro _VA_LIST_DEFINED is used in Windows NT 3.5 */ +#ifndef _VA_LIST_DEFINED /* The macro _VA_LIST is used in SCO Unix 3.2. */ #ifndef _VA_LIST /* The macro _VA_LIST_T_H is used in the Bull dpx2 */ @@ -146,9 +148,11 @@ typedef __gnuc_va_list va_list; #define _VA_LIST_ #endif #define _VA_LIST +#define _VA_LIST_DEFINED typedef __gnuc_va_list va_list; #endif /* not _VA_LIST_T_H */ #endif /* not _VA_LIST */ +#endif /* not _VA_LIST_DEFINED */ #endif /* not _VA_LIST_ */ #endif /* not __svr4__ */ |