port_config.h.in 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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 Google CRC32C.
  15. #if !defined(HAVE_CRC32C)
  16. #cmakedefine01 HAVE_CRC32C
  17. #endif // !defined(HAVE_CRC32C)
  18. // Define to 1 if you have Google Snappy.
  19. #if !defined(HAVE_SNAPPY)
  20. #cmakedefine01 HAVE_SNAPPY
  21. #endif // !defined(HAVE_SNAPPY)
  22. // Define to 1 if your processor stores words with the most significant byte
  23. // first (like Motorola and SPARC, unlike Intel and VAX).
  24. #if !defined(LEVELDB_IS_BIG_ENDIAN)
  25. #cmakedefine01 LEVELDB_IS_BIG_ENDIAN
  26. #endif // !defined(LEVELDB_IS_BIG_ENDIAN)
  27. #endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_