Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 22, 2018
1 parent bddb51c commit 7845b4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -11557,6 +11557,12 @@ fi
fi
fi
case "${host_os}" in
darwin*)
have_mmap=no ;;
esac
if test "$have_mmap" = "no"; then
VIEW_FILE=read.lo
ALLOC_FILE=alloc.lo
Expand Down
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ else
AC_CHECK_FUNC(mmap, [have_mmap=yes], [have_mmap=no])
fi
fi

case "${host_os}" in
darwin*)
have_mmap=no ;;
esac

if test "$have_mmap" = "no"; then
VIEW_FILE=read.lo
ALLOC_FILE=alloc.lo
Expand Down

0 comments on commit 7845b4e

Please # to comment.