* vasprintf.c: Accept __va_copy in addition to va_copy.

From-SVN: r87203
This commit is contained in:
Adam Nemet 2004-09-08 21:29:42 +00:00 committed by Adam Nemet
parent 2e8401aeba
commit 626ff3dea7
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-09-08 Adam Nemet <anemet@lnxw.com>
* vasprintf.c: Accept __va_copy in addition to va_copy.
2004-09-03 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.

View File

@ -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>