From f9b4e353bbbad367335cd6198bb8b764893e5d1c Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 8 Sep 2004 22:01:25 +0000 Subject: merge from gcc --- libiberty/ChangeLog | 4 ++++ libiberty/vasprintf.c | 3 +++ 2 files changed, 7 insertions(+) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 12dbff8..c8ea333 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 d3d4f3a..7eaf2b1 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 -- cgit v1.1