1
1

* global.h: Define NDEBUG (used by assert() depending on

MC_ENABLE_DEBUGGING_CODE).
Этот коммит содержится в:
Roland Illig 2005-04-26 19:42:37 +00:00
родитель 957f3d180d
Коммит 413ed3236e
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -2,6 +2,8 @@
* view.c: Added some calls to str_unconst() to get rid of the
GCC warnings.
* global.h: Define NDEBUG (used by assert() depending on
MC_ENABLE_DEBUGGING_CODE).
2005-04-25 Roland Illig <roland.illig@gmx.de>

Просмотреть файл

@ -190,4 +190,11 @@ void refresh_screen (void *);
/* C++ style type casts */
#define const_cast(m_type, m_expr) ((m_type) (m_expr))
#ifdef MC_ENABLE_DEBUGGING_CODE
# undef NDEBUG
#else
# define NDEBUG
#endif
#include <assert.h>
#endif