作者: 韩晨旭 10225101440 李畅 10225102463
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

28 líneas
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_