summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2015-08-25 14:06:29 +0200
committerKarel Gardas <karel.gardas@centrum.cz>2015-08-25 14:06:29 +0200
commitb78494eee787bdc0f9cc263b773638dc7db3482f (patch)
tree218909c043782f18d7743b7f977578dd0a0b163b /rts/posix
parent37a0b50b5e28a326159bb464effb499c1d9de775 (diff)
downloadhaskell-b78494eee787bdc0f9cc263b773638dc7db3482f.tar.gz
fix 64bit two-stage allocator on Solaris/AMD64 platform (#10790)
Test Plan: tested on Solaris 11/AMD64 when previous build failed Reviewers: bgamari, austin, simonmar, gcampax, ezyang Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1169
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/OSMem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c
index 976b5f5c54..aa3f3a132a 100644
--- a/rts/posix/OSMem.c
+++ b/rts/posix/OSMem.c
@@ -156,7 +156,7 @@ my_mmap (void *addr, W_ size, int operation)
else
flags = 0;
-#if defined(solaris2_HOST_OS) || defined(irix_HOST_OS)
+#if defined(irix_HOST_OS)
{
if (operation & MEM_RESERVE)
{