mdbx: fix mis-defined MDBX_FORCE_ASSERTIONS.

Change-Id: I6f7ad4fdd6aca99a4f908d634af0015a6e95c0d1
This commit is contained in:
Leonid Yuriev 2021-05-06 17:03:10 +03:00
parent 1275bdb623
commit a14d6bcb11

View File

@ -154,7 +154,7 @@
/** Forces assertion checking */ /** Forces assertion checking */
#ifndef MDBX_FORCE_ASSERTIONS #ifndef MDBX_FORCE_ASSERTIONS
#define MDBX_FORCE_ASSERTIONS 1 #define MDBX_FORCE_ASSERTIONS 0
#elif !(MDBX_FORCE_ASSERTIONS == 0 || MDBX_FORCE_ASSERTIONS == 1) #elif !(MDBX_FORCE_ASSERTIONS == 0 || MDBX_FORCE_ASSERTIONS == 1)
#error MDBX_FORCE_ASSERTIONS must be defined as 0 or 1 #error MDBX_FORCE_ASSERTIONS must be defined as 0 or 1
#endif /* MDBX_FORCE_ASSERTIONS */ #endif /* MDBX_FORCE_ASSERTIONS */