diff options
author | drh <drh@noemail.net> | 2015-01-14 17:16:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-01-14 17:16:23 +0000 |
commit | 7a20f698dfa00d012f7742b0d8c2ca0d5a1ae41a (patch) | |
tree | a94425cfb168f06c47a06af4a683f31b3fc791d6 /src/os_unix.c | |
parent | f7af7a17b9a8a1e623604972399711271e1b903a (diff) | |
parent | 068a251d9982d7f57694d5b901078b94dc5b0ad0 (diff) | |
download | sqlite-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.c | 4 |
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 |