diff --git a/src/ChangeLog b/src/ChangeLog index 9019425fb..344c7addf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -5,6 +5,8 @@ assertion. (view_file_load_data): Make sure the right datasource is selected. (view_set_byte): This function is only expected to be called when datasource == DS_FILE. Removed unused code. + * global.h: Don't use MC_ENABLE_DEBUGGING_CODE to decide whether + to enable or disable assertions. Just use the default value. 2005-06-28 Roland Illig diff --git a/src/global.h b/src/global.h index e480c63cd..b66b3b3cb 100644 --- a/src/global.h +++ b/src/global.h @@ -190,11 +190,13 @@ void refresh_screen (void *); /* C++ style type casts */ #define const_cast(m_type, m_expr) ((m_type) (m_expr)) +#if 0 #ifdef MC_ENABLE_DEBUGGING_CODE # undef NDEBUG #else # define NDEBUG #endif #include +#endif #endif