diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-08-08 22:19:52 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-08-08 22:19:52 +0000 |
commit | c5b2aecafb967f915f804e8ab4f12deb998b5625 (patch) | |
tree | ae1ef1e7ecdd297dcd2eb64ed2ba403fd4f1f68b /gcc/config/mips/svr3-5.h | |
parent | ef9331b0b33ed6a6e692365284b9eb6a33165485 (diff) |
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/svr3-5.h')
-rw-r--r-- | gcc/config/mips/svr3-5.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/mips/svr3-5.h b/gcc/config/mips/svr3-5.h index 67f2960636a..1764237ad94 100644 --- a/gcc/config/mips/svr3-5.h +++ b/gcc/config/mips/svr3-5.h @@ -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) |