mirror of https://gitee.com/bigwinds/arangodb
Don't define NDEBUG - this does fancy stuff to assertions.
This commit is contained in:
parent
6efb11c922
commit
d04fc6ee3a
|
@ -33,17 +33,11 @@
|
|||
|
||||
// debug mode
|
||||
#ifdef VELOCYPACK_DEBUG
|
||||
#ifndef DEBUG
|
||||
#define DEBUG
|
||||
#endif
|
||||
#include <cassert>
|
||||
#define VELOCYPACK_ASSERT(x) assert(x)
|
||||
|
||||
#else
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
#define VELOCYPACK_ASSERT(x)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue