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
2b6ede1d
Commit
2b6ede1d
authored
Apr 20, 1998
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add extra protection in case strrchr already defined
From-SVN: r19343
parent
763d7ce8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gcc/protoize.c
+2
-0
No files found.
gcc/protoize.c
View file @
2b6ede1d
...
@@ -78,11 +78,13 @@ Boston, MA 02111-1307, USA. */
...
@@ -78,11 +78,13 @@ Boston, MA 02111-1307, USA. */
but it normally does declare it. This means that configure thinks we don't
but it normally does declare it. This means that configure thinks we don't
need to declare it. Favor using strrchr if it is available. */
need to declare it. Favor using strrchr if it is available. */
#ifndef strrchr
#ifndef HAVE_STRRCHR
#ifndef HAVE_STRRCHR
#ifdef HAVE_RINDEX
#ifdef HAVE_RINDEX
#define strrchr rindex
#define strrchr rindex
#endif
#endif
#endif
#endif
#endif
/* Include getopt.h for the sake of getopt_long.
/* Include getopt.h for the sake of getopt_long.
We don't need the declaration of getopt, and it could conflict
We don't need the declaration of getopt, and it could conflict
...
...
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