os0file.c:

Fix compiler error on those OS X platforms where Apple's special file flush trick with fcntl() is not defined
This commit is contained in:
heikki@hundin.mysql.fi 2005-01-10 15:26:33 +02:00
parent 4ddd79fb69
commit 59b9a5289a

View file

@ -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