percona/percona-server
storage/innobase/innodb.cmake
:134
CHECK_C_SOURCE_COMPILES(
"
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <fcntl.h>
#include <linux/falloc.h>
int main()
{
/* Ignore the return value for now. Check if the flags exist.
The return value is checked at runtime. */
fallocate(0, FALLOC_FL_ZERO_RANGE, 0, 0);
return(0);
}"
HAVE_FALLOC_FL_ZERO_RANGE
)