From f24be4c6ade18276a1210afac44c66b9329afe20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Mon, 14 Jun 2004 18:52:56 +0000 Subject: 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. --- intern/moto/include/MT_assert.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'intern') diff --git a/intern/moto/include/MT_assert.h b/intern/moto/include/MT_assert.h index bff85c4074f..b9680c1e684 100644 --- a/intern/moto/include/MT_assert.h +++ b/intern/moto/include/MT_assert.h @@ -32,17 +32,17 @@ #ifndef MT_ASSERT_H #define MT_ASSERT_H -#ifdef MT_DEBUG +#ifdef MT_NDEBUG -#include - -#define MT_assert(predicate) assert(predicate) +#define MT_assert(predicate) ((void)0) #else -#define MT_assert(predicate) ((void)0) +#include + +#define MT_assert(predicate) assert(predicate) -#endif /* MT_DEBUG */ +#endif /* MT_NDEBUG */ #endif -- cgit v1.2.3