aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-01-14 17:16:23 +0000
committerdrh <drh@noemail.net>2015-01-14 17:16:23 +0000
commit7a20f698dfa00d012f7742b0d8c2ca0d5a1ae41a (patch)
treea94425cfb168f06c47a06af4a683f31b3fc791d6 /src/os_unix.c
parentf7af7a17b9a8a1e623604972399711271e1b903a (diff)
parent068a251d9982d7f57694d5b901078b94dc5b0ad0 (diff)
downloadsqlite-7a20f698dfa00d012f7742b0d8c2ca0d5a1ae41a.tar.gz
sqlite-7a20f698dfa00d012f7742b0d8c2ca0d5a1ae41a.zip
Merge trunk 3.8.8 beta changes into the sessions branch
FossilOrigin-Name: 0ba124540b5b2a9ceda0f4f4a46e6be54edad813
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 3fcb0cff2..ddd6a802e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3386,9 +3386,9 @@ int sqlite3_fullsync_count = 0;
** We do not trust systems to provide a working fdatasync(). Some do.
** Others do no. To be safe, we will stick with the (slightly slower)
** fsync(). If you know that your system does support fdatasync() correctly,
-** then simply compile with -Dfdatasync=fdatasync
+** then simply compile with -Dfdatasync=fdatasync or -DHAVE_FDATASYNC
*/
-#if !defined(fdatasync)
+#if !defined(fdatasync) && !HAVE_FDATASYNC
# define fdatasync fsync
#endif