From a5a869f390857cebfbdf7d077dd2e56514b3a6f5 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 11 Nov 2014 14:07:25 +0100 Subject: [PATCH] Enable ASSERT() for *NIX debug builds refs #7634 --- lib/base/i2-base.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/base/i2-base.hpp b/lib/base/i2-base.hpp index 19f203634..06642709c 100644 --- a/lib/base/i2-base.hpp +++ b/lib/base/i2-base.hpp @@ -58,6 +58,10 @@ # pragma warning(disable:4345) #endif /* _MSC_VER */ +#ifndef NDEBUG +# define _DEBUG +#endif /* NDEBUG */ + #include "config.h" #ifdef _WIN32