1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix the SQLITE_DISABLE_DIRSYNC compile time option.

FossilOrigin-Name: 6deb3ea1f080324ea23ebdc9008753fbbc4063e2
This commit is contained in:
dan
2011-08-25 13:46:32 +00:00
parent 26541c9a00
commit ee140c4d71
3 changed files with 13 additions and 9 deletions

View File

@@ -252,7 +252,11 @@ struct unixFile {
#define UNIXFILE_EXCL 0x01 /* Connections from one process only */
#define UNIXFILE_RDONLY 0x02 /* Connection is read only */
#define UNIXFILE_PERSIST_WAL 0x04 /* Persistent WAL mode */
#define UNIXFILE_DIRSYNC 0x08 /* Directory sync needed */
#ifndef SQLITE_DISABLE_DIRSYNC
# define UNIXFILE_DIRSYNC 0x08 /* Directory sync needed */
#else
# define UNIXFILE_DIRSYNC 0x00
#endif
/*
** Include code that is common to all os_*.c files