From ab5668cf29e3993ea3fcd7199d937a1e5c701dd0 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 18 Sep 2018 18:16:24 +0300 Subject: [PATCH] mdbx: add MDBX_FORCE_ASSERT. Change-Id: I68a9f7b42663ea157c7c0a5a58797c94127b45ed --- src/bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bits.h b/src/bits.h index 261f84dc..1a3c6cf7 100644 --- a/src/bits.h +++ b/src/bits.h @@ -861,7 +861,7 @@ void mdbx_panic(const char *fmt, ...) #else #define mdbx_debug_enabled(type) (0) #define mdbx_audit_enabled() (0) -#ifndef NDEBUG +#if !defined(NDEBUG) || defined(MDBX_FORCE_ASSERT) #define mdbx_assert_enabled() (1) #else #define mdbx_assert_enabled() (0)