mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* io/Makefile (tests): Add tst-posix_fallocate.
* io/tst-posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_FALLOCATE.
This commit is contained in:
@ -468,3 +468,8 @@
|
||||
#if __LINUX_KERNEL_VERSION >= 0x020616
|
||||
# define __ASSUME_PRIVATE_FUTEX 1
|
||||
#endif
|
||||
|
||||
/* Support for fallocate was added in 2.6.23. */
|
||||
#if __LINUX_KERNEL_VERSION >= 0x020617
|
||||
# define __ASSUME_FALLOCATE 1
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user