patch for bug #803270 breaks OS X
For some reasons fdatasync() is available but is not declared on OS X. So after the patch for bug #803270 I get the following warning (actually error, since I build with -Werror):
os/os0file.c: In function ‘os_file_fsync’:
os/os0file.c:1967: warning: implicit declaration of function ‘fdatasync’.
The solution is to replace
That's what the server has in my_sync.c