1 --- a/sqlite3.c 2011-06-08 14:50:51.185910263 +0800
2 +++ b/sqlite3.c 2011-06-08 14:51:57.485764632 +0800
3 @@ -24491,7 +24491,11 @@
4 #define osFchmod ((int(*)(int,mode_t))aSyscall[14].pCurrent)
6 #if defined(HAVE_POSIX_FALLOCATE) && HAVE_POSIX_FALLOCATE
7 +#if !defined(_LP64) && _FILE_OFFSET_BITS == 64
8 + { "fallocate", (sqlite3_syscall_ptr)posix_fallocate64, 0 },
10 { "fallocate", (sqlite3_syscall_ptr)posix_fallocate, 0 },
13 { "fallocate", (sqlite3_syscall_ptr)0, 0 },