Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
134854fe
Commit
134854fe
authored
Jan 29, 2005
by
stolz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2005-01-29 09:57:42 by stolz]
USE_MMAP on FreeBSD as well
parent
6317d554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ghc/rts/Linker.c
ghc/rts/Linker.c
+2
-2
No files found.
ghc/rts/Linker.c
View file @
134854fe
...
...
@@ -58,12 +58,12 @@
#include <sys/wait.h>
#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 <fcntl.h>
#include <sys/mman.h>
#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 <unistd.h>
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment