aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vasprintf.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-09-08 22:01:25 +0000
committerDJ Delorie <dj@redhat.com>2004-09-08 22:01:25 +0000
commitf9b4e353bbbad367335cd6198bb8b764893e5d1c (patch)
tree248375359ce7bbb42799f9f31703e523f2c88573 /libiberty/vasprintf.c
parente05b62ac692a61c2d2bb603be45b5118b427e9e2 (diff)
downloadgdb-f9b4e353bbbad367335cd6198bb8b764893e5d1c.zip
gdb-f9b4e353bbbad367335cd6198bb8b764893e5d1c.tar.gz
gdb-f9b4e353bbbad367335cd6198bb8b764893e5d1c.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/vasprintf.c')
-rw-r--r--libiberty/vasprintf.c3
1 files changed, 3 insertions, 0 deletions
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 <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>