Commit 30e15876 by Ian Lance Taylor Committed by Ian Lance Taylor

* dwarf.c: Correct test of HAVE_DECL_STRNLEN.

From-SVN: r191437
parent 487e359c
2012-09-18 Ian Lance Taylor <iant@google.com> 2012-09-18 Ian Lance Taylor <iant@google.com>
* dwarf.c: Correct test of HAVE_DECL_STRNLEN.
2012-09-18 Ian Lance Taylor <iant@google.com>
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS. * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS.
* mmapio.c: Don't define _GNU_SOURCE. * mmapio.c: Don't define _GNU_SOURCE.
* configure, config.h.in: Rebuild. * configure, config.h.in: Rebuild.
......
...@@ -44,7 +44,7 @@ POSSIBILITY OF SUCH DAMAGE. */ ...@@ -44,7 +44,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include "backtrace.h" #include "backtrace.h"
#include "internal.h" #include "internal.h"
#ifndef HAVE_DECL_STRNLEN #if !defined(HAVE_DECL_STRNLEN) || !HAVE_DECL_STRNLEN
/* The function is defined in libiberty if needed. */ /* The function is defined in libiberty if needed. */
extern size_t strnlen (const char *, size_t); extern size_t strnlen (const char *, size_t);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment