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 | |
5 | #ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_ |
6 | #define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_ |
7 | |
8 | // Define to 1 if you have a definition for fdatasync() in <unistd.h>. |
9 | #if !defined(HAVE_FDATASYNC) |
10 | #define HAVE_FDATASYNC 1 |
11 | #endif // !defined(HAVE_FDATASYNC) |
12 | |
13 | // Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>. |
14 | #if !defined(HAVE_FULLFSYNC) |
15 | #define HAVE_FULLFSYNC 0 |
16 | #endif // !defined(HAVE_FULLFSYNC) |
17 | |
18 | // Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>. |
19 | #if !defined(HAVE_O_CLOEXEC) |
20 | #define HAVE_O_CLOEXEC 1 |
21 | #endif // !defined(HAVE_O_CLOEXEC) |
22 | |
23 | // Define to 1 if you have Google CRC32C. |
24 | #if !defined(HAVE_CRC32C) |
25 | #define HAVE_CRC32C 0 |
26 | #endif // !defined(HAVE_CRC32C) |
27 | |
28 | // Define to 1 if you have Google Snappy. |
29 | #if !defined(HAVE_SNAPPY) |
30 | #define HAVE_SNAPPY 0 |
31 | #endif // !defined(HAVE_SNAPPY) |
32 | |
33 | #endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_ |
34 | |