summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2015-06-24 21:43:02 +0200
commitf91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca (patch)
tree2cf0506c54b3ed4693dc47cb502088ed5c27a09f /include/libiberty.h
parent59cab532835904f368b0aa99267afba5fda5ded2 (diff)
downloadbinutils-gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.gz
Sync libiberty from GCC, replaying updates to configure scripts
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index b33dd65982d..8e096a0db0c 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -621,7 +621,7 @@ extern int pexecute (const char *, char * const *, const char *,
extern int pwait (int, int *, int);
-#if !HAVE_DECL_ASPRINTF
+#if defined(HAVE_DECL_ASPRINTF) && !HAVE_DECL_ASPRINTF
/* Like sprintf but provides a pointer to malloc'd storage, which must
be freed by the caller. */