2018-03-17 10:10:13 +08:00
|
|
|
// Copyright 2017 The LevelDB Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file. See the AUTHORS file for names of contributors.
|
|
|
|
|
|
|
|
#ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
|
|
|
|
#define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
|
|
|
|
|
|
|
|
// Define to 1 if you have a definition for fdatasync() in <unistd.h>.
|
2019-01-09 05:49:13 +08:00
|
|
|
#if !defined(HAVE_FDATASYNC)
|
|
|
|
#cmakedefine01 HAVE_FDATASYNC
|
|
|
|
#endif // !defined(HAVE_FDATASYNC)
|
2018-03-17 10:10:13 +08:00
|
|
|
|
|
|
|
// Define to 1 if you have Google CRC32C.
|
|
|
|
#if !defined(HAVE_CRC32C)
|
|
|
|
#cmakedefine01 HAVE_CRC32C
|
|
|
|
#endif // !defined(HAVE_CRC32C)
|
|
|
|
|
|
|
|
// Define to 1 if you have Google Snappy.
|
|
|
|
#if !defined(HAVE_SNAPPY)
|
|
|
|
#cmakedefine01 HAVE_SNAPPY
|
|
|
|
#endif // !defined(HAVE_SNAPPY)
|
|
|
|
|
|
|
|
// Define to 1 if your processor stores words with the most significant byte
|
|
|
|
// first (like Motorola and SPARC, unlike Intel and VAX).
|
|
|
|
#if !defined(LEVELDB_IS_BIG_ENDIAN)
|
|
|
|
#cmakedefine01 LEVELDB_IS_BIG_ENDIAN
|
|
|
|
#endif // !defined(LEVELDB_IS_BIG_ENDIAN)
|
|
|
|
|
|
|
|
#endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
|