diff --git a/test/error_test.cc b/test/error_test.cc --- a/test/error_test.cc +++ b/test/error_test.cc @@ -31,6 +31,10 @@ #undef LEMON_DISABLE_ASSERTS #endif +#ifdef NDEBUG +#undef NDEBUG +#endif + //checking disabled asserts #define LEMON_DISABLE_ASSERTS #include