* global.h: Don't use MC_ENABLE_DEBUGGING_CODE to decide whether

to enable or disable assertions. Just use the default value.
This commit is contained in:
Roland Illig 2005-06-30 23:12:08 +00:00
parent 7f25b3154b
commit 6e5508ef14
2 changed files with 4 additions and 0 deletions

View File

@ -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 <roland.illig@gmx.de>

View File

@ -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 <assert.h>
#endif
#endif