rewind of previous commit as some experiment bad problems.

This means that bug #1292 is alive again unless you define MT_NDEBUG
which I doubt many do.
This commit is contained in:
Jean-Luc Peurière 2004-06-14 18:52:56 +00:00
parent 73642b2a42
commit f24be4c6ad

@ -32,17 +32,17 @@
#ifndef MT_ASSERT_H
#define MT_ASSERT_H
#ifdef MT_DEBUG
#ifdef MT_NDEBUG
#define MT_assert(predicate) ((void)0)
#else
#include <assert.h>
#define MT_assert(predicate) assert(predicate)
#else
#define MT_assert(predicate) ((void)0)
#endif /* MT_DEBUG */
#endif /* MT_NDEBUG */
#endif