summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-05-11 00:32:05 +0200
committerJuliusz Chroboczek <jch@pps.jussieu.fr>2008-05-11 00:32:05 +0200
commite583311c8a73a675fc3396fe24cdafcad53e60e5 (patch)
tree62f71c9a3ed33bc0b53e89f2864217b52974e6de /util.c
parent8e36cc8647b27a4d14cf3f63045410db79fb98a3 (diff)
Use autoconf test instead of #ifdef GLIBC for vasprintf.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 1fbbbd4..e4ca332 100644
--- a/util.c
+++ b/util.c
@@ -79,7 +79,7 @@ sprintf_alloc(char *f, ...)
return s;
}
-#ifdef __GLIBC__
+#if HAVE_VASPRINTF
char*
vsprintf_alloc(char *f, va_list args)
{