aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-06-20 14:07:37 +0000
committerdrh <drh@noemail.net>2013-06-20 14:07:37 +0000
commitb01e5b59a2e471d468e1854ef4de4b8f54f3bd6c (patch)
tree5d5224ba7425fa6bf8f7bfbaeeca8e19ea799aef /src
parent2daffdf0b522c1d504c7da25c51038dd93db2499 (diff)
downloadsqlite-b01e5b59a2e471d468e1854ef4de4b8f54f3bd6c.tar.gz
sqlite-b01e5b59a2e471d468e1854ef4de4b8f54f3bd6c.zip
Disable posix_fallocate() for all systems, all the time, unless the
HAVE_POSIX_FALLOCATE compile-time macro is supplied. FossilOrigin-Name: b674462243138fcee192ef05d434665e30c681c4
Diffstat (limited to 'src')
-rw-r--r--src/os_unix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index e4382cbff..152bf9a11 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -46,12 +46,6 @@
#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) && defined(__linux__)
-# define HAVE_POSIX_FALLOCATE 1
-#endif
-
/*
** There are various methods for file locking used for concurrency
** control: