diff options
author | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-08 21:29:42 +0000 |
---|---|---|
committer | nemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-08 21:29:42 +0000 |
commit | 6f2cd531bd9e8d8f467f5c0f5fe9a8a62a0392a5 (patch) | |
tree | acaa8a7ad1ed2b411918374fd9034d6e8cb0f13e /libiberty/vasprintf.c | |
parent | 4ee8ff84e62de1b52b2abfcc79c5efc4be47ddd9 (diff) | |
download | gcc-6f2cd531bd9e8d8f467f5c0f5fe9a8a62a0392a5.tar.gz |
* vasprintf.c: Accept __va_copy in addition to va_copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/vasprintf.c')
-rw-r--r-- | libiberty/vasprintf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/vasprintf.c b/libiberty/vasprintf.c index d3d4f3a1553..7eaf2b18d6f 100644 --- a/libiberty/vasprintf.c +++ b/libiberty/vasprintf.c @@ -27,6 +27,9 @@ Boston, MA 02111-1307, USA. */ #else #include <varargs.h> #endif +#if !defined (va_copy) && defined (__va_copy) +# define va_copy(d,s) __va_copy((d),(s)) +#endif #include <stdio.h> #ifdef HAVE_STRING_H #include <string.h> |