diff options
author | drh <drh@noemail.net> | 2013-06-19 14:49:14 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-06-19 14:49:14 +0000 |
commit | 2daffdf0b522c1d504c7da25c51038dd93db2499 (patch) | |
tree | 55526d4fad3b937380ce839c71999be342c81bd9 /src | |
parent | 7fb1b3011870ff7b71084ff0a2a96b5f157b0844 (diff) | |
download | sqlite-2daffdf0b522c1d504c7da25c51038dd93db2499.tar.gz sqlite-2daffdf0b522c1d504c7da25c51038dd93db2499.zip |
Only default HAVE_POSIX_FALLOCATE on for linux, and then only if it is not
previously defined.
FossilOrigin-Name: 2b2ade92788be623af6f57e37d98994be2cec142
Diffstat (limited to 'src')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index bc1b44cb2..e4382cbff 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -48,7 +48,7 @@ /* Use posix_fallocate() if it is available */ -#if defined(__linux__) || defined(__APPLE__) +#if !defined(HAVE_POSIX_FALLOCATE) && defined(__linux__) # define HAVE_POSIX_FALLOCATE 1 #endif |