diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2015-06-24 21:43:02 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2015-06-24 21:43:02 +0200 |
commit | f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca (patch) | |
tree | 2cf0506c54b3ed4693dc47cb502088ed5c27a09f /include | |
parent | 59cab532835904f368b0aa99267afba5fda5ded2 (diff) | |
download | gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.zip gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.gz gdb-f91ca6bc00c1e3c70c1d2f4527d4297b76e2eaca.tar.bz2 |
Sync libiberty from GCC, replaying updates to configure scripts
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/libiberty.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c924c56..89b4bbe 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -7,6 +7,11 @@ include/ * bfdlink.h: Rename eh_frame_hdr to eh_frame_hdr_type. +2015-05-22 Yunlian Jiang <yunlian@google.com> + + * libiberty.h (asprintf): Don't declare if HAVE_DECL_ASPRINTF is + not defined. + 2015-05-12 Jiong Wang <jiong.wang@arm.com> * elf/aarch64.h (R_AARCH64_P32_LD32_GOTPAGE_LO14): New enumeration. diff --git a/include/libiberty.h b/include/libiberty.h index b33dd65..8e096a0 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. */ |