Thank you, Mike. You show great skill:)
I won't touch Google code here. I just fixed it this way (learn from
external/sqlite/dist/sqlite3.c):
/*
** Use the fdatasync() API only if the HAVE_FDATASYNC macro is
defined.
** Otherwise use fsync() in its place.
*/
#ifndef HAVE_FDATASYNC
# define fdatasync fsync
#endif
Reading bionic/libc/include/sys/linux-unistd.h (generated by Google as
you mentioned), I found only fsync() was implemented.
Kenny
On Jul 2, 8:29 pm, Michael Trimarchi <
trimar...@gandalf.sssup.it>
> >> - Show quoted text -- Hide quoted text -