This commit is contained in:
Alex Crichton
2018-05-22 12:56:59 -07:00
parent bddb51c706
commit 7845b4ecc7
2 changed files with 12 additions and 0 deletions
Vendored
+6
View File
@@ -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
+6
View File
@@ -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