aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-03-14 11:21:00 +0000
committerNick Clifton <nickc@redhat.com>2014-03-14 11:21:00 +0000
commit5a026fc9a26fa613b67cffe87f8cf3b91bb186b4 (patch)
tree173f7306a8307c5e08f156093288954b0db0c192 /bfd/configure.in
parentdc6ae99692892c869dc068c0cfd842168078305c (diff)
downloadgdb-5a026fc9a26fa613b67cffe87f8cf3b91bb186b4.zip
gdb-5a026fc9a26fa613b67cffe87f8cf3b91bb186b4.tar.gz
gdb-5a026fc9a26fa613b67cffe87f8cf3b91bb186b4.tar.bz2
Fix build time problem with MingGW hosts, which do not have a strnlen() function.
2014-03-13 Meador Inge <meadori@codesourcery.com> * configure.in: Add strnlen to AC_CHECK_DECLS. * config.in: Regenerate. * configure: Regenerate. * sysdep.h (strnlen): Add prototype. * dwarf.c (strnlen): Move prototype ... * sysdep.h (strnlen): ... to here.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index f1ec965..af98f62 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -239,6 +239,7 @@ AC_CHECK_DECLS(stpcpy)
AC_CHECK_DECLS(strstr)
AC_CHECK_DECLS(snprintf)
AC_CHECK_DECLS(vsnprintf)
+AC_CHECK_DECLS(strnlen)
# Link in zlib if we can. This allows us to read compressed debug sections.
# This is used only by compress.c.