summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorTamar Christina <tamar@zhox.com>2015-10-16 09:46:59 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-10-16 09:47:14 +0200
commit78c9deaf228b9ed40d9ca9632a181f18a112936f (patch)
tree1d684f3269a464f08b40134770e36258d832cec8 /rts
parent04e8366608fee4f5e3358acc855bc6f556c3f508 (diff)
downloadhaskell-78c9deaf228b9ed40d9ca9632a181f18a112936f.tar.gz
Fix windows build after D975
Add a missing #ifdef Reviewed By: simonmar Differential Revision: https://phabricator.haskell.org/D1328
Diffstat (limited to 'rts')
-rw-r--r--rts/Linker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index be5b3b815f..af07fdaa39 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1758,7 +1758,9 @@ initLinker_ (int retain_cafs)
addDLLHandle(WSTR("*.exe"), GetModuleHandle(NULL));
#endif
+#ifdef USE_MMAP
m32_allocator_init(&allocator);
+#endif
IF_DEBUG(linker, debugBelch("initLinker: done\n"));
return;