summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-09 17:58:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-09 17:58:56 +0300
commitff7f380bd22443e5b2e5a548edeab08bac15f1d7 (patch)
treeed8a2a9293782372c9c4a7158f7089891b840e81
parent2828f80c86cf8bde114c7ba11bcce4b4d32e2af6 (diff)
compilation fix for VS2017
-rw-r--r--libs/libmdbx/src/mdbx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libmdbx/src/mdbx.h b/libs/libmdbx/src/mdbx.h
index 982f5973ae..4cf29e4502 100644
--- a/libs/libmdbx/src/mdbx.h
+++ b/libs/libmdbx/src/mdbx.h
@@ -1254,7 +1254,7 @@ enum MDBX_txn_flags_t {
#if defined(__cplusplus) && !defined(__cpp_constexpr) && !defined(DOXYGEN)
MDBX_TXN_RDONLY_PREPARE = uint32_t(MDBX_RDONLY) | uint32_t(MDBX_NOMEMINIT),
#else
- MDBX_TXN_RDONLY_PREPARE = MDBX_RDONLY | MDBX_NOMEMINIT,
+ MDBX_TXN_RDONLY_PREPARE = MDBX_RDONLY + MDBX_NOMEMINIT,
#endif
/** Do not block when starting a write transaction. */