You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

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