aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vsprintf.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-01-22 20:14:53 +0000
committerDJ Delorie <dj@redhat.com>2002-01-22 20:14:53 +0000
commitcc096b7166610e6cca71574ef936acbabc922708 (patch)
treee1f498ad212739694972f83364c71a374ce90a3d /libiberty/vsprintf.c
parent069e84fd968e0561b436e2af0bd2310e028fd04f (diff)
downloadgdb-cc096b7166610e6cca71574ef936acbabc922708.zip
gdb-cc096b7166610e6cca71574ef936acbabc922708.tar.gz
gdb-cc096b7166610e6cca71574ef936acbabc922708.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/vsprintf.c')
-rw-r--r--libiberty/vsprintf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/vsprintf.c b/libiberty/vsprintf.c
index bf0760c..b69e9bc 100644
--- a/libiberty/vsprintf.c
+++ b/libiberty/vsprintf.c
@@ -3,7 +3,7 @@
implementations of stdio; newer ones should already have vsprintf.
Written by Per Bothner of Cygnus Support.
Based on libg++'s "form" (written by Doug Lea; dl@rocky.oswego.edu).
- Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1995, 2002 Free Software Foundation, Inc.
This file is part of the libiberty library. This library is free
software; you can redistribute it and/or modify it under the
@@ -31,6 +31,8 @@ the executable file might be covered by the GNU General Public License. */
#include <ansidecl.h>
#undef vsprintf
+#if defined _IOSTRG && defined _IOWRT
+
int
vsprintf (buf, format, ap)
char *buf;
@@ -53,3 +55,5 @@ vsprintf (buf, format, ap)
return ret;
}
+
+#endif