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

Commit 7845b4e

Browse files
committed
1 parent bddb51c commit 7845b4e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

configure

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11557,6 +11557,12 @@ fi
1155711557
1155811558
fi
1155911559
fi
11560+
11561+
case "${host_os}" in
11562+
darwin*)
11563+
have_mmap=no ;;
11564+
esac
11565+
1156011566
if test "$have_mmap" = "no"; then
1156111567
VIEW_FILE=read.lo
1156211568
ALLOC_FILE=alloc.lo

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@ else
295295
AC_CHECK_FUNC(mmap, [have_mmap=yes], [have_mmap=no])
296296
fi
297297
fi
298+
299+
case "${host_os}" in
300+
darwin*)
301+
have_mmap=no ;;
302+
esac
303+
298304
if test "$have_mmap" = "no"; then
299305
VIEW_FILE=read.lo
300306
ALLOC_FILE=alloc.lo

0 commit comments

Comments
 (0)