Commit 9cb75205 authored by simonmar's avatar simonmar

[project @ 2005-01-18 16:28:43 by simonmar]

USE_MMAP on Linux too: this is needed for sparc64-unknown-linux at
least, and since it seems to work on i386-unknown-linux too we might
as well enable it.  We should probably use it on more arches/OSs too.
parent 4a667166
......@@ -58,12 +58,12 @@
#include <sys/wait.h>
#endif
#if defined(ia64_TARGET_ARCH) || defined(openbsd_TARGET_OS)
#if defined(ia64_TARGET_ARCH) || defined(openbsd_TARGET_OS) || defined(linux_TARGET_OS)
#define USE_MMAP
#include <fcntl.h>
#include <sys/mman.h>
#if defined(openbsd_TARGET_OS)
#if defined(openbsd_TARGET_OS) || defined(linux_TARGET_OS)
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment