Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
30e15876
Commit
30e15876
authored
Sep 18, 2012
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Sep 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf.c: Correct test of HAVE_DECL_STRNLEN.
From-SVN: r191437
parent
487e359c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libbacktrace/ChangeLog
+4
-0
libbacktrace/dwarf.c
+1
-1
No files found.
libbacktrace/ChangeLog
View file @
30e15876
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.
...
...
libbacktrace/dwarf.c
View file @
30e15876
...
@@ -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"
#if
ndef
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment