From: Ian Lynagh Date: Sat, 29 May 2010 14:50:16 +0000 (+0000) Subject: Add darwin to the list of OSes for which we use mmap X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=556b2bf7cdec832215a0b0843175548b07114a8a Add darwin to the list of OSes for which we use mmap Patch from Barney Stratford --- diff --git a/rts/Linker.c b/rts/Linker.c index 1ad077c..e951628 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -71,7 +71,7 @@ #include #endif -#if defined(linux_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS) || defined(openbsd_HOST_OS) +#if defined(linux_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS) || defined(openbsd_HOST_OS) || defined(darwin_HOST_OS) #define USE_MMAP #include #include