diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-05-31 09:44:08 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-05-31 09:44:08 +0300 |
commit | 5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185 (patch) | |
tree | 4b637d5069b7b4f2d557169777217ea165495c68 /libiberty/config.in | |
parent | 90b4491842980d57a0e572167a168e04a476bca5 (diff) | |
download | gdb-5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185.zip gdb-5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185.tar.gz gdb-5b4a1ff337973732ff9a5ad9b1cb84d74a7e6185.tar.bz2 |
Avoid compilation warning on MinGW in xstrndup
libiberty/ChangeLog:
2017-05-31 DJ Delorie <dj@redhat.com>
* configure.ac (strnlen): Add to AC_CHECK_DECLS.
* configure: Likewise.
* config.in: Add HACE_DECL_STRNLEN.
Diffstat (limited to 'libiberty/config.in')
-rw-r--r-- | libiberty/config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libiberty/config.in b/libiberty/config.in index 1ff50c6..66c78e8 100644 --- a/libiberty/config.in +++ b/libiberty/config.in @@ -79,6 +79,10 @@ don't. */ #undef HAVE_DECL_SNPRINTF +/* Define to 1 if you have the declaration of `strnlen', and to 0 if you + don't. */ +#undef HAVE_DECL_STRNLEN + /* Define to 1 if you have the declaration of `strtol', and to 0 if you don't. */ #undef HAVE_DECL_STRTOL |