Skip to content

Commit f608f25

Browse files
committed
Squashed 'src/leveldb/' changes from 330dd6235f..22f1e4a02f
22f1e4a02f Merge bitcoin-core/leveldb-subtree#32: fix macro HAVE_O_CLOEXEC when O_CLOEXEC not found 1eeb1cb879 fix macro HAVE_O_CLOEXEC when O_CLOEXEC not found git-subtree-dir: src/leveldb git-subtree-split: 22f1e4a02fd8e96090bb699a04c95c784aa88e74
1 parent 1b20109 commit f608f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/env_posix.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ constexpr const int kDefaultMmapLimit = (sizeof(void*) >= 8) ? 4096 : 0;
4949
int g_mmap_limit = kDefaultMmapLimit;
5050

5151
// Common flags defined for all posix open operations
52-
#if defined(HAVE_O_CLOEXEC)
52+
#if HAVE_O_CLOEXEC
5353
constexpr const int kOpenBaseFlags = O_CLOEXEC;
5454
#else
5555
constexpr const int kOpenBaseFlags = 0;

0 commit comments

Comments
 (0)