From 4d4975c3d0a2534a4023239d37ca4d93a8869e66 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Wed, 2 May 2012 16:45:03 +0200 Subject: 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 Reviewed-by: Oswald Buddenhagen --- src/3rdparty/sqlite/sqlite3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/3rdparty/sqlite') diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c index b901da5dcf..024dad7c6e 100644 --- a/src/3rdparty/sqlite/sqlite3.c +++ b/src/3rdparty/sqlite/sqlite3.c @@ -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 -- cgit v1.2.3