From: Adam Nemet Date: Wed, 8 Sep 2004 21:29:42 +0000 (+0000) Subject: * vasprintf.c: Accept __va_copy in addition to va_copy. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=626ff3dea737de35b6865d637d9de731e6185b98;p=gcc.git * vasprintf.c: Accept __va_copy in addition to va_copy. From-SVN: r87203 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 12dbff8de69..c8ea3331525 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2004-09-08 Adam Nemet + + * vasprintf.c: Accept __va_copy in addition to va_copy. + 2004-09-03 Paolo Bonzini * configure: Regenerate. 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 #endif +#if !defined (va_copy) && defined (__va_copy) +# define va_copy(d,s) __va_copy((d),(s)) +#endif #include #ifdef HAVE_STRING_H #include