xref: /aosp_15_r20/external/leveldb/port/port_config.h.in (revision 9507f98c5f32dee4b5f9e4a38cd499f3ff5c4490)
1*9507f98cSAndroid Build Coastguard Worker// Copyright 2017 The LevelDB Authors. All rights reserved.
2*9507f98cSAndroid Build Coastguard Worker// Use of this source code is governed by a BSD-style license that can be
3*9507f98cSAndroid Build Coastguard Worker// found in the LICENSE file. See the AUTHORS file for names of contributors.
4*9507f98cSAndroid Build Coastguard Worker
5*9507f98cSAndroid Build Coastguard Worker#ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
6*9507f98cSAndroid Build Coastguard Worker#define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
7*9507f98cSAndroid Build Coastguard Worker
8*9507f98cSAndroid Build Coastguard Worker// Define to 1 if you have a definition for fdatasync() in <unistd.h>.
9*9507f98cSAndroid Build Coastguard Worker#if !defined(HAVE_FDATASYNC)
10*9507f98cSAndroid Build Coastguard Worker#cmakedefine01 HAVE_FDATASYNC
11*9507f98cSAndroid Build Coastguard Worker#endif  // !defined(HAVE_FDATASYNC)
12*9507f98cSAndroid Build Coastguard Worker
13*9507f98cSAndroid Build Coastguard Worker// Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>.
14*9507f98cSAndroid Build Coastguard Worker#if !defined(HAVE_FULLFSYNC)
15*9507f98cSAndroid Build Coastguard Worker#cmakedefine01 HAVE_FULLFSYNC
16*9507f98cSAndroid Build Coastguard Worker#endif  // !defined(HAVE_FULLFSYNC)
17*9507f98cSAndroid Build Coastguard Worker
18*9507f98cSAndroid Build Coastguard Worker// Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>.
19*9507f98cSAndroid Build Coastguard Worker#if !defined(HAVE_O_CLOEXEC)
20*9507f98cSAndroid Build Coastguard Worker#cmakedefine01 HAVE_O_CLOEXEC
21*9507f98cSAndroid Build Coastguard Worker#endif  // !defined(HAVE_O_CLOEXEC)
22*9507f98cSAndroid Build Coastguard Worker
23*9507f98cSAndroid Build Coastguard Worker// Define to 1 if you have Google CRC32C.
24*9507f98cSAndroid Build Coastguard Worker#if !defined(HAVE_CRC32C)
25*9507f98cSAndroid Build Coastguard Worker#cmakedefine01 HAVE_CRC32C
26*9507f98cSAndroid Build Coastguard Worker#endif  // !defined(HAVE_CRC32C)
27*9507f98cSAndroid Build Coastguard Worker
28*9507f98cSAndroid Build Coastguard Worker// Define to 1 if you have Google Snappy.
29*9507f98cSAndroid Build Coastguard Worker#if !defined(HAVE_SNAPPY)
30*9507f98cSAndroid Build Coastguard Worker#cmakedefine01 HAVE_SNAPPY
31*9507f98cSAndroid Build Coastguard Worker#endif  // !defined(HAVE_SNAPPY)
32*9507f98cSAndroid Build Coastguard Worker
33*9507f98cSAndroid Build Coastguard Worker#endif  // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_