mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
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.
This commit is contained in:
@ -29,10 +29,6 @@
|
||||
#include "dwarf.h"
|
||||
#include "gdb/gdb-index.h"
|
||||
|
||||
#if !HAVE_DECL_STRNLEN
|
||||
size_t strnlen (const char *, size_t);
|
||||
#endif
|
||||
|
||||
static const char *regname (unsigned int regno, int row);
|
||||
|
||||
static int have_frame_base;
|
||||
|
Reference in New Issue
Block a user