diff options
Diffstat (limited to 'file_io/unix/readwrite.c')
-rw-r--r-- | file_io/unix/readwrite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/file_io/unix/readwrite.c b/file_io/unix/readwrite.c index 7044300c17c1..0759495affb9 100644 --- a/file_io/unix/readwrite.c +++ b/file_io/unix/readwrite.c @@ -387,6 +387,8 @@ APR_DECLARE(apr_status_t) apr_file_datasync(apr_file_t *thefile) #ifdef HAVE_FDATASYNC if (fdatasync(thefile->filedes)) { +#elif defined(F_FULLFSYNC) + if (fcntl(thefile->filedes, F_FULLFSYNC)) { #else if (fsync(thefile->filedes)) { #endif |