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
980be18f
Commit
980be18f
authored
Feb 17, 2000
by
Jason Merrill
Committed by
Jason Merrill
Feb 16, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
From-SVN: r32019
parent
4f1c5b7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
gcc/ChangeLog
+4
-0
gcc/fixinc/fixinc.svr4
+9
-1
No files found.
gcc/ChangeLog
View file @
980be18f
2000
-
02
-
16
Jason
Merrill
<
jason
@casey
.
cygnus
.
com
>
*
fixinc
/
fixinc
.
svr4
:
Wrap
byteorder
.
h
with
extern
"C"
.
2000
-
02
-
16
Nick
Clifton
<
nickc
@cygnus
.
com
>
2000
-
02
-
16
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
emit
-
rtl
.
c
(
emit_insn
)
:
Move
RTL
check
into
make_insn_raw
.
*
emit
-
rtl
.
c
(
emit_insn
)
:
Move
RTL
check
into
make_insn_raw
.
...
...
gcc/fixinc/fixinc.svr4
View file @
980be18f
#! /bin/sh
#! /bin/sh
# Install modified versions of certain ANSI-incompatible
# Install modified versions of certain ANSI-incompatible
# native System V Release 4 system include files.
# native System V Release 4 system include files.
# Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc.
# Copyright (C) 1994, 1996, 1997, 1998
, 2000
Free Software Foundation, Inc.
# Contributed by Ron Guilmette (rfg@monkeys.com).
# Contributed by Ron Guilmette (rfg@monkeys.com).
#
#
# This file is part of GNU CC.
# This file is part of GNU CC.
...
@@ -1650,6 +1650,10 @@ cat <<'__EOF__' >${LIB}/sys/byteorder.h
...
@@ -1650,6 +1650,10 @@ cat <<'__EOF__' >${LIB}/sys/byteorder.h
#error You lose! This file is only useful with GNU compilers.
#error You lose! This file is only useful with GNU compilers.
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __BYTE_ORDER__
#ifndef __BYTE_ORDER__
/* Byte order defines. These are as defined on UnixWare 1.1, but with
/* Byte order defines. These are as defined on UnixWare 1.1, but with
double underscores added at the front and back. */
double underscores added at the front and back. */
...
@@ -1774,6 +1778,10 @@ ntohs (unsigned int __arg)
...
@@ -1774,6 +1778,10 @@ ntohs (unsigned int __arg)
return htons (__arg);
return htons (__arg);
}
}
#ifdef __cplusplus
} /* extern "C" */
#endif
__EOF__
__EOF__
if
[
-r
${
INPUT
}
/sys/byteorder.h
]
;
then
if
[
-r
${
INPUT
}
/sys/byteorder.h
]
;
then
...
...
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