aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2013-08-26 19:36:18 +0000
committermistachkin <mistachkin@noemail.net>2013-08-26 19:36:18 +0000
commit09b404419a4d07a50e6b2fb1fe78f5ca44d23e26 (patch)
tree341f39c7b08d39104256d1e56a45bcd5086a7ad6 /src/os_unix.c
parente49d98fb0a5f0e2987d128110d08c833babd6606 (diff)
parent4dd5144366484feb8a108739751f9ed8d9f332d3 (diff)
downloadsqlite-09b404419a4d07a50e6b2fb1fe78f5ca44d23e26.tar.gz
sqlite-09b404419a4d07a50e6b2fb1fe78f5ca44d23e26.zip
Merge updates from trunk.
FossilOrigin-Name: 9d6860098f96efc7ea60e2d6116fb7d0e2685a55
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 0ae88517e..580f8e60e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -451,6 +451,7 @@ static struct unix_syscall {
{ "fchown", (sqlite3_syscall_ptr)posixFchown, 0 },
#define osFchown ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
+#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0
{ "mmap", (sqlite3_syscall_ptr)mmap, 0 },
#define osMmap ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[21].pCurrent)
@@ -463,6 +464,7 @@ static struct unix_syscall {
{ "mremap", (sqlite3_syscall_ptr)0, 0 },
#endif
#define osMremap ((void*(*)(void*,size_t,size_t,int,...))aSyscall[23].pCurrent)
+#endif
}; /* End of the overrideable system calls */