From 55c43291c62166fe6468864bd83055625b219212 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 30 Jan 2017 20:15:24 +0300 Subject: [PATCH] mdbx: undef NDEBUG when MDB_DEBUG != 0. --- mdb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdb.c b/mdb.c index 2242109b..b9f8277e 100644 --- a/mdb.c +++ b/mdb.c @@ -70,6 +70,10 @@ # warning "ReOpenMDBX required at least GLIBC 2.12." #endif +#if MDB_DEBUG +# undef NDEBUG +#endif + #include "./reopen.h" #include "./barriers.h"