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

Disable posix_fallocate() for all systems, all the time, unless the

HAVE_POSIX_FALLOCATE compile-time macro is supplied.

FossilOrigin-Name: b674462243138fcee192ef05d434665e30c681c4
This commit is contained in:
drh
2013-06-20 14:07:37 +00:00
parent 2daffdf0b5
commit b01e5b59a2
3 changed files with 7 additions and 13 deletions

View File

@@ -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: