diff options
author | Nick Clifton <nickc@redhat.com> | 2014-03-14 11:21:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-03-14 11:21:00 +0000 |
commit | 5a026fc9a26fa613b67cffe87f8cf3b91bb186b4 (patch) | |
tree | 173f7306a8307c5e08f156093288954b0db0c192 /bfd/config.in | |
parent | dc6ae99692892c869dc068c0cfd842168078305c (diff) | |
download | gdb-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/config.in')
-rw-r--r-- | bfd/config.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in index 3106c28..05829e2 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -64,6 +64,10 @@ */ #undef HAVE_DECL_STPCPY +/* 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 `strstr', and to 0 if you don't. */ #undef HAVE_DECL_STRSTR |