summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/sqlite/sqlite3.c
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.co.uk>2012-05-02 16:45:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-03 16:11:58 +0200
commit4d4975c3d0a2534a4023239d37ca4d93a8869e66 (patch)
tree44e1d5130e512ba9945445f8c615e11d5f703b36 /src/3rdparty/sqlite/sqlite3.c
parentee0514d63c406fd43c6a1d8005c18d602f4b3c35 (diff)
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>
Diffstat (limited to 'src/3rdparty/sqlite/sqlite3.c')
-rw-r--r--src/3rdparty/sqlite/sqlite3.c2
1 files changed, 1 insertions, 1 deletions
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