mirror of
https://github.com/google/leveldb.git
synced 2025-04-15 13:20:37 +08:00
Merge 5c7a71bce0
into ac691084fd
This commit is contained in:
commit
06d72d7fad
@ -50,11 +50,11 @@ constexpr const int kDefaultMmapLimit = (sizeof(void*) >= 8) ? 1000 : 0;
|
||||
int g_mmap_limit = kDefaultMmapLimit;
|
||||
|
||||
// Common flags defined for all posix open operations
|
||||
#if defined(HAVE_O_CLOEXEC)
|
||||
#if HAVE_O_CLOEXEC
|
||||
constexpr const int kOpenBaseFlags = O_CLOEXEC;
|
||||
#else
|
||||
constexpr const int kOpenBaseFlags = 0;
|
||||
#endif // defined(HAVE_O_CLOEXEC)
|
||||
#endif // HAVE_O_CLOEXEC
|
||||
|
||||
constexpr const size_t kWritableFileBufferSize = 65536;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user