mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-22 20:22:44 +03:00
Merge in trunk changes to os_unix.c that allow the code to build on
unix platforms that lack posix_fallocate(). FossilOrigin-Name: bf5764067ab848e19e5971cbdf892c633495e325
This commit is contained in:
@@ -48,8 +48,7 @@
|
||||
|
||||
/* Use posix_fallocate() if it is available
|
||||
*/
|
||||
#if !defined(HAVE_POSIX_FALLOCATE) \
|
||||
&& (_XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L)
|
||||
#if !defined(HAVE_POSIX_FALLOCATE) && defined(__linux__)
|
||||
# define HAVE_POSIX_FALLOCATE 1
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user