# HG changeset patch # User Alpar Juttner # Date 2008-07-18 17:36:54 # Node ID cfadfeef706f94f6cbee4a412effb74a15cb3694 # Parent b67149f0e6757cc1132d30f6ca7d4050e210b66c Fix compilation error when NDEBUG is defined. 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