From: simonmar Date: Fri, 19 Sep 2003 09:04:09 +0000 (+0000) Subject: [project @ 2003-09-19 09:04:09 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~443 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=04793e4a7573ff2f02ad2cc59614b66c434874b7;p=ghc-hetmet.git [project @ 2003-09-19 09:04:09 by simonmar] Add irix_TARGET_OS support. --- diff --git a/ghc/rts/MBlock.c b/ghc/rts/MBlock.c index d276be0..4d4b1a3 100644 --- a/ghc/rts/MBlock.c +++ b/ghc/rts/MBlock.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: MBlock.c,v 1.47 2003/06/26 20:49:32 panne Exp $ + * $Id: MBlock.c,v 1.48 2003/09/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 defined(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);