cmake HAVE_FALLOC_FL_ZERO_RANGE examples

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
  )

percona/percona-server storage/innobase/innodb.cmake :158

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

logicalclocks/rondb 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
  )

logicalclocks/rondb storage/innobase/innodb.cmake :158

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

polardb/polardbx-engine storage/innobase/innodb.cmake :141

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
  )

polardb/polardbx-engine storage/innobase/innodb.cmake :165

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

percona/percona-xtrabackup 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
  )

percona/percona-xtrabackup storage/innobase/innodb.cmake :158

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

GreatSQL/GreatSQL storage/innobase/innodb.cmake :135

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
  )

GreatSQL/GreatSQL storage/innobase/innodb.cmake :159

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

percona/percona-xtradb-cluster 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
  )

percona/percona-xtradb-cluster storage/innobase/innodb.cmake :158

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

facebook/mysql-5.6 storage/innobase/innodb.cmake :135

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
  )

facebook/mysql-5.6 storage/innobase/innodb.cmake :159

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)

mysql/mysql-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
  )

mysql/mysql-server storage/innobase/innodb.cmake :158

ADD_DEFINITIONS(-DHAVE_FALLOC_FL_ZERO_RANGE=1)