From f608f25313d2867a6abdfc38abdb86da40924cfc Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 29 Jul 2022 14:43:11 +0100 Subject: [PATCH] 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 --- util/env_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/env_posix.cc b/util/env_posix.cc index 18626b327c6..fac41be6ceb 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;