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
cfe8fed0
Commit
cfe8fed0
authored
Feb 06, 1995
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only include <stdio.h> and <stdlib.h> in <assert.h> for C++
From-SVN: r8873
parent
8919037c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gcc/fixincludes
+6
-2
No files found.
gcc/fixincludes
View file @
cfe8fed0
...
...
@@ -2120,7 +2120,9 @@ if [ -r ${LIB}/$file ]; then
true
else
echo
"Fixing
$file
(needs stdio.h)"
echo
'#include <stdio.h>'
>>
${
LIB
}
/
$file
echo
'#ifdef __cplusplus
#include <stdio.h>
#endif'
>>
${
LIB
}
/
$file
fi
fi
if
grep
'exit *('
${
LIB
}
/
$file
>
/dev/null 2>/dev/null
||
...
...
@@ -2129,7 +2131,9 @@ if [ -r ${LIB}/$file ]; then
true
else
echo
"Fixing
$file
(needs stdlib.h)"
echo
'#include <stdlib.h>'
>>
${
LIB
}
/
$file
echo
'#ifdef __cplusplus
#include <stdlib.h>
#endif'
>>
${
LIB
}
/
$file
fi
fi
if
cmp
$file
${
LIB
}
/
$file
>
/dev/null 2>&1
;
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