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
46450975
Commit
46450975
authored
Mar 21, 2008
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Mar 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* filenames.h: Add extern "C" when compiled with C++.
From-SVN: r133440
parent
e8afc0cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
include/ChangeLog
+4
-0
include/filenames.h
+8
-0
No files found.
include/ChangeLog
View file @
46450975
2008-03-21 Ian Lance Taylor <iant@google.com>
* filenames.h: Add extern "C" when compiled with C++.
2008-02-11 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
...
...
include/filenames.h
View file @
46450975
...
...
@@ -26,6 +26,10 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef FILENAMES_H
#define FILENAMES_H
#ifdef __cplusplus
extern
"C"
{
#endif
#if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__)
#ifndef HAVE_DOS_BASED_FILE_SYSTEM
...
...
@@ -49,4 +53,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
extern
int
filename_cmp
(
const
char
*
s1
,
const
char
*
s2
);
#define FILENAME_CMP(s1, s2) filename_cmp(s1, s2)
#ifdef __cplusplus
}
#endif
#endif
/* FILENAMES_H */
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