summaryrefslogtreecommitdiff
path: root/dist/sqlite3.c
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2016-04-16 22:12:55 -0700
committerNick Kralevich <nnk@google.com>2016-04-16 22:12:55 -0700
commit59026eb5f51650dffd10744df96a11c241e45921 (patch)
treeaed506b3e991304d32d4d237103c7a3c969535e9 /dist/sqlite3.c
parentfd5b41ae770e5342de5340b32c69a28d1b40314c (diff)
reduce differences between Android and upstream
Move HAVE_POSIX_FALLOCATE into Android.mk, rather than assigning this in sqlite3.c. This customization was added in 1eb051da2d460037a748d574b128cdd33b6d8b28. Remove an unnecessary whitespace difference. Change-Id: Id4d6c48b59983ebb4c7160ca364d247febb4e543
Diffstat (limited to 'dist/sqlite3.c')
-rw-r--r--dist/sqlite3.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/dist/sqlite3.c b/dist/sqlite3.c
index b0536a4..07120eb 100644
--- a/dist/sqlite3.c
+++ b/dist/sqlite3.c
@@ -26470,13 +26470,6 @@ SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){
/* #include "sqliteInt.h" */
#if SQLITE_OS_UNIX /* This file is used on unix only */
-/* Use posix_fallocate() if it is available
-*/
-#if !defined(HAVE_POSIX_FALLOCATE) \
- && (_XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L)
-# define HAVE_POSIX_FALLOCATE 1
-#endif
-
/*
** There are various methods for file locking used for concurrency
** control:
@@ -139825,7 +139818,7 @@ SQLITE_PRIVATE int sqlite3Fts3Init(sqlite3 *db){
#endif
rc = sqlite3_create_module_v2(
db, "fts3", &fts3Module, (void *)pHash, hashDestroy
- );
+ );
if( rc==SQLITE_OK ){
rc = sqlite3_create_module_v2(
db, "fts4", &fts3Module, (void *)pHash, 0