From 31df063bfed2558e5eaf1941b4c020c4beff4be7 Mon Sep 17 00:00:00 2001 From: brane Date: Wed, 5 Apr 2017 10:18:57 +0000 Subject: Do not try to use fdatasync() on macOS. Use the platform-specific fcntl(fd, F_FULLFSYNC) instead. See http://apr.markmail.org/thread/hlgqd5yr6j4auxol git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1790200 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b406562a6..5dcef8aa4 100644 --- a/configure.in +++ b/configure.in @@ -578,6 +578,11 @@ case $host in ;; esac ;; + *apple-darwin*) + ac_cv_func_fdatasync="no" # Mac OS X wrongly reports it has fdatasync() + OSDIR="unix" + eolstr="\\n" + ;; *os390) OSDIR="os390" OBJECTS_PLATFORM='$(OBJECTS_os390)' -- cgit v1.2.1