Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
134854fe
Commit
134854fe
authored
Jan 29, 2005
by
stolz
Browse files
[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
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
Supports
Markdown
0%
Try again
or
attach a new 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