diff options
author | mistachkin <mistachkin@noemail.net> | 2015-01-12 18:52:57 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2015-01-12 18:52:57 +0000 |
commit | 9b97b8fed970afe1edcae8b49281c072b92c93d0 (patch) | |
tree | 5e933832179cd56eb86c79d942f73df4d9c36dcc /src/os_unix.c | |
parent | 7bb6e8e16962d2201a5d61d5e02a52b4d453786c (diff) | |
parent | 8d9da63dacde128e546f84cb34392188aab1be83 (diff) | |
download | sqlite-9b97b8fed970afe1edcae8b49281c072b92c93d0.tar.gz sqlite-9b97b8fed970afe1edcae8b49281c072b92c93d0.zip |
Merge updates from trunk.
FossilOrigin-Name: ca5f2c545216c82486e66d26f55b49cbf351ffdc
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 |