Remove Linux check for fdatasync().

Android lacks an fdatasync() implementation. Upstream sqlite has also removed
this part of the ifdef.

Change-Id: I656f1b67e8e8880308372a90b100fe9b23f96455
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
bb10
Robin Burchell 2012-05-02 16:45:03 +02:00 committed by Qt by Nokia
parent ee0514d63c
commit 4d4975c3d0
1 changed files with 1 additions and 1 deletions

View File

@ -27635,7 +27635,7 @@ SQLITE_API int sqlite3_fullsync_count = 0;
** If you know that your system does support fdatasync() correctly,
** then simply compile with -Dfdatasync=fdatasync
*/
#if !defined(fdatasync) && !defined(__linux__)
#if !defined(fdatasync)
# define fdatasync fsync
#endif