projects
/
blender-staging.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73642b2
)
rewind of previous commit as some experiment bad problems.
author
Jean-Luc Peurière <jlp@nerim.net>
Mon, 14 Jun 2004 18:52:56 +0000
(18:52 +0000)
committer
Jean-Luc Peurière <jlp@nerim.net>
Mon, 14 Jun 2004 18:52:56 +0000
(18:52 +0000)
This means that bug #1292 is alive again unless you define MT_NDEBUG
which I doubt many do.
intern/moto/include/MT_assert.h
patch
|
blob
|
history
diff --git
a/intern/moto/include/MT_assert.h
b/intern/moto/include/MT_assert.h
index bff85c4074f9fd2f4b270291cc0558efacae8123..b9680c1e6846a4c4a3f8c4ca51973c6b893c05e1 100644
(file)
--- 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_
N
DEBUG
-#include <assert.h>
-
-#define MT_assert(predicate) assert(predicate)
+#define MT_assert(predicate) ((void)0)
#else
-#define MT_assert(predicate) ((void)0)
+#include <assert.h>
+
+#define MT_assert(predicate) assert(predicate)
-#endif /* MT_DEBUG */
+#endif /* MT_
N
DEBUG */
#endif