Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
04793e4a
Commit
04793e4a
authored
Sep 19, 2003
by
simonmar
Browse files
[project @ 2003-09-19 09:04:09 by simonmar]
Add irix_TARGET_OS support.
parent
12b7f98f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/MBlock.c
View file @
04793e4a
/* -----------------------------------------------------------------------------
* $Id: MBlock.c,v 1.4
7
2003/0
6/26 20:49:32 panne
Exp $
* $Id: MBlock.c,v 1.4
8
2003/0
9/19 09:04:09 simonmar
Exp $
*
* (c) The GHC Team 1998-1999
*
...
...
@@ -94,7 +94,7 @@ my_mmap (void *addr, lnat size)
{
void
*
ret
;
#ifdef
solaris2_TARGET_OS
#if
def
ined(
solaris2_TARGET_OS
) || defined(irix_TARGET_OS)
{
int
fd
=
open
(
"/dev/zero"
,
O_RDONLY
);
ret
=
mmap
(
addr
,
size
,
PROT_READ
|
PROT_WRITE
,
MAP_PRIVATE
,
fd
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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