mdbx: backport - add MDBX_FORCE_ASSERT.

Change-Id: I68a9f7b42663ea157c7c0a5a58797c94127b45ed
This commit is contained in:
Leonid Yuriev 2018-09-18 18:16:24 +03:00
parent e32ca55258
commit d232737087

View File

@ -822,7 +822,7 @@ void mdbx_panic(const char *fmt, ...)
#else
#define mdbx_debug_enabled(type) (0)
#ifndef NDEBUG
#if !defined(NDEBUG) || defined(MDBX_FORCE_ASSERT)
#define mdbx_assert_enabled() (1)
#else
#define mdbx_assert_enabled() (0)