diff options
author | heikki@hundin.mysql.fi <> | 2005-01-10 15:26:33 +0200 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2005-01-10 15:26:33 +0200 |
commit | 59b9a5289a715a95cbaedc6beea1dea91f4fa5d4 (patch) | |
tree | 78368510869e2d38ca9a561f6d25720835d3e2a5 | |
parent | 4ddd79fb69dd090240f0639b56551cf7e96370d8 (diff) | |
download | mariadb-git-59b9a5289a715a95cbaedc6beea1dea91f4fa5d4.tar.gz |
os0file.c:
Fix compiler error on those OS X platforms where Apple's special file flush trick with fcntl() is not defined
-rw-r--r-- | innobase/os/os0file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index f02b81b8fd8..60760d1f8b8 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -1763,7 +1763,7 @@ os_file_flush( #else int ret; -#ifdef HAVE_DARWIN_THREADS +#if defined(HAVE_DARWIN_THREADS) && defined(F_FULLFSYNC) /* Apple has disabled fsync() for internal disk drives in OS X. That caused corruption for a user when he tested a power outage. Let us in OS X use a nonstandard flush method recommended by an Apple |