diff options
author | fanquake <fanquake@gmail.com> | 2022-07-29 14:43:11 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-07-29 14:43:11 +0100 |
commit | f608f25313d2867a6abdfc38abdb86da40924cfc (patch) | |
tree | 40544495b0aeef907f95f3d2da411e5d9a29e271 | |
parent | 1b20109b04061304eab84cf921a030300b4f9fe3 (diff) | |
download | bitcoin-f608f25313d2867a6abdfc38abdb86da40924cfc.tar.xz |
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
-rw-r--r-- | util/env_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/env_posix.cc b/util/env_posix.cc index 18626b327c..fac41be6ce 100644 --- a/util/env_posix.cc +++ b/util/env_posix.cc @@ -49,7 +49,7 @@ constexpr const int kDefaultMmapLimit = (sizeof(void*) >= 8) ? 4096 : 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; |