From 134854fec9dc52d3fdf7ae312cea854d68e4a362 Mon Sep 17 00:00:00 2001 From: stolz Date: Sat, 29 Jan 2005 09:57:42 +0000 Subject: [PATCH] [project @ 2005-01-29 09:57:42 by stolz] USE_MMAP on FreeBSD as well --- ghc/rts/Linker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/rts/Linker.c b/ghc/rts/Linker.c index f507e47..4a2a51b 100644 --- a/ghc/rts/Linker.c +++ b/ghc/rts/Linker.c @@ -58,12 +58,12 @@ #include #endif -#if defined(ia64_HOST_ARCH) || defined(openbsd_HOST_OS) || defined(linux_HOST_OS) +#if defined(ia64_HOST_ARCH) || defined(openbsd_HOST_OS) || defined(linux_HOST_OS) || defined(freebsd_HOST_OS) #define USE_MMAP #include #include -#if defined(openbsd_HOST_OS) || defined(linux_HOST_OS) +#if defined(openbsd_HOST_OS) || defined(linux_HOST_OS) || defined(freebsd_HOST_OS) #ifdef HAVE_UNISTD_H #include #endif -- 1.7.10.4