mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-29 19:22:28 +01:00
04b5790928 Merge bitcoin-core/leveldb-subtree#46: Fix invalid pointer arithmetic in Hash (#1222) 59669817c5 Merge bitcoin-core/leveldb-subtree#40: cherry-pick: Remove leveldb::port::kLittleEndian. 73013d1a37 Merge bitcoin-core/leveldb-subtree#45: [jumbo] Add begin()/end() to Slice. a8844b23ab Fix invalid pointer arithmetic in Hash (#1222) be4dfc94b3 [jumbo] Add begin()/end() to Slice. 2e3c0131d3 Remove leveldb::port::kLittleEndian. git-subtree-dir: src/leveldb git-subtree-split: 04b57909285c7335c1908d53bcde9b90fe0439be
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
// 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>.
|
|
#if !defined(HAVE_FDATASYNC)
|
|
#cmakedefine01 HAVE_FDATASYNC
|
|
#endif // !defined(HAVE_FDATASYNC)
|
|
|
|
// Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>.
|
|
#if !defined(HAVE_FULLFSYNC)
|
|
#cmakedefine01 HAVE_FULLFSYNC
|
|
#endif // !defined(HAVE_FULLFSYNC)
|
|
|
|
// Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>.
|
|
#if !defined(HAVE_O_CLOEXEC)
|
|
#cmakedefine01 HAVE_O_CLOEXEC
|
|
#endif // !defined(HAVE_O_CLOEXEC)
|
|
|
|
// 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)
|
|
|
|
#endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
|