port_config.h.in raw

   1  // Copyright 2017 The LevelDB Authors. All rights reserved.
   2  // Use of this source code is governed by a BSD-style license that can be
   3  // found in the LICENSE file. See the AUTHORS file for names of contributors.
   4  
   5  #ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
   6  #define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
   7  
   8  // Define to 1 if you have a definition for fdatasync() in <unistd.h>.
   9  #if !defined(HAVE_FDATASYNC)
  10  #cmakedefine01 HAVE_FDATASYNC
  11  #endif  // !defined(HAVE_FDATASYNC)
  12  
  13  // Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>.
  14  #if !defined(HAVE_FULLFSYNC)
  15  #cmakedefine01 HAVE_FULLFSYNC
  16  #endif  // !defined(HAVE_FULLFSYNC)
  17  
  18  // Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>.
  19  #if !defined(HAVE_O_CLOEXEC)
  20  #cmakedefine01 HAVE_O_CLOEXEC
  21  #endif  // !defined(HAVE_O_CLOEXEC)
  22  
  23  // Define to 1 if you have Google CRC32C.
  24  #if !defined(HAVE_CRC32C)
  25  #cmakedefine01 HAVE_CRC32C
  26  #endif  // !defined(HAVE_CRC32C)
  27  
  28  // Define to 1 if you have Google Snappy.
  29  #if !defined(HAVE_SNAPPY)
  30  #cmakedefine01 HAVE_SNAPPY
  31  #endif  // !defined(HAVE_SNAPPY)
  32  
  33  #endif  // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_