diff options
author | Branko Čibej <brane@apache.org> | 2017-04-05 10:18:57 +0000 |
---|---|---|
committer | Branko Čibej <brane@apache.org> | 2017-04-05 10:18:57 +0000 |
commit | 76fca5c1d81e7c0988b66e717790d6e2aa60d35b (patch) | |
tree | a8c2623ab2f9cb870f6157023be04180e3526e82 /configure.in | |
parent | 684d6631b756d53a3d305296954203047c2754d5 (diff) | |
download | apr-76fca5c1d81e7c0988b66e717790d6e2aa60d35b.tar.gz |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@1790200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
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)' |