port_config.h.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. #ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
  5. #define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
  6. // Define to 1 if you have a definition for fdatasync() in <unistd.h>.
  7. #if !defined(HAVE_FDATASYNC)
  8. #cmakedefine01 HAVE_FDATASYNC
  9. #endif // !defined(HAVE_FDATASYNC)
  10. // Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>.
  11. #if !defined(HAVE_FULLFSYNC)
  12. #cmakedefine01 HAVE_FULLFSYNC
  13. #endif // !defined(HAVE_FULLFSYNC)
  14. // Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>.
  15. #if !defined(HAVE_O_CLOEXEC)
  16. #cmakedefine01 HAVE_O_CLOEXEC
  17. #endif // !defined(HAVE_O_CLOEXEC)
  18. // Define to 1 if you have Google CRC32C.
  19. #if !defined(HAVE_CRC32C)
  20. #cmakedefine01 HAVE_CRC32C
  21. #endif // !defined(HAVE_CRC32C)
  22. // Define to 1 if you have Google Snappy.
  23. #if !defined(HAVE_SNAPPY)
  24. #cmakedefine01 HAVE_SNAPPY
  25. #endif // !defined(HAVE_SNAPPY)
  26. // Define to 1 if you have Zstd.
  27. #if !defined(HAVE_Zstd)
  28. #cmakedefine01 HAVE_ZSTD
  29. #endif // !defined(HAVE_ZSTD)
  30. #endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_