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

Only default HAVE_POSIX_FALLOCATE on for linux, and then only if it is not

previously defined.

FossilOrigin-Name: 2b2ade92788be623af6f57e37d98994be2cec142
This commit is contained in:
drh
2013-06-19 14:49:14 +00:00
parent 7fb1b30118
commit 2daffdf0b5
3 changed files with 8 additions and 8 deletions

View File

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