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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user