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
d5891360
Commit
d5891360
authored
Jan 26, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(stdio.h): Change _VA_LIST_ to __gnuc_va_list for 386BSD.
From-SVN: r3354
parent
9116497e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
gcc/fixincludes
+3
-0
No files found.
gcc/fixincludes
View file @
d5891360
...
@@ -846,9 +846,12 @@ if [ -r ${LIB}/$file ]; then
...
@@ -846,9 +846,12 @@ if [ -r ${LIB}/$file ]; then
(
echo
"#define __need___va_list"
(
echo
"#define __need___va_list"
echo
"#include <stdarg.h>"
)
>
${
LIB
}
/
${
file
}
.sed
echo
"#include <stdarg.h>"
)
>
${
LIB
}
/
${
file
}
.sed
# Use __gnuc_va_list in arg types in place of va_list.
# Use __gnuc_va_list in arg types in place of va_list.
# On 386BSD use __gnuc_va_list instead of _VA_LIST_. We're hoping the
# trailing parentheses and semicolon save all other systems from this.
# Define __va_list__ (something harmless and unused) instead of va_list.
# Define __va_list__ (something harmless and unused) instead of va_list.
# Don't claim to have defined va_list.
# Don't claim to have defined va_list.
sed
-e
's@ va_list @ __gnuc_va_list @'
\
sed
-e
's@ va_list @ __gnuc_va_list @'
\
-e
's@ _VA_LIST_));@ __gnuc_va_list));@'
\
-e
's@ va_list@ __va_list__@'
\
-e
's@ va_list@ __va_list__@'
\
-e
's@\*va_list@*__va_list__@'
\
-e
's@\*va_list@*__va_list__@'
\
-e
's@VA_LIST@DUMMY_VA_LIST@'
\
-e
's@VA_LIST@DUMMY_VA_LIST@'
\
...
...
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