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
3de13334
Commit
3de13334
authored
Aug 08, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
From-SVN: r5114
parent
302484ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
gcc/config/mips/svr3-5.h
+6
-0
gcc/config/mips/svr4-5.h
+6
-0
No files found.
gcc/config/mips/svr3-5.h
View file @
3de13334
...
...
@@ -61,6 +61,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/param.h>
#include <unistd.h>
/* In at least 5.0 and 5.01, there is no _SC_PAGE_SIZE macro, only a
_SC_PAGESIZE macro. */
#ifdef _SC_PAGESIZE
#define _SC_PAGE_SIZE _SC_PAGESIZE
#endif
#ifdef _SC_PAGE_SIZE
#define getpagesize() sysconf(_SC_PAGE_SIZE)
...
...
gcc/config/mips/svr4-5.h
View file @
3de13334
...
...
@@ -62,6 +62,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef L_trampoline
#include <unistd.h>
/* In at least 5.0 and 5.01, there is no _SC_PAGE_SIZE macro, only a
_SC_PAGESIZE macro. */
#ifdef _SC_PAGESIZE
#define _SC_PAGE_SIZE _SC_PAGESIZE
#endif
#define getpagesize() sysconf(_SC_PAGE_SIZE)
#endif
/* L_trampoline */
...
...
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