Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-18 10:52:10 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-18 10:52:10 +0400
commita293f76cdf36220bf6f9027b5bbf75bc2cbb3def (patch)
treec1168cad86ecab55750715aaaabd75893006661c /intern/moto
parent4d37cf90b9d9d8ed2f0339c8ccd72481e29a4514 (diff)
Use DEBUG instead of NDEBUG
Diffstat (limited to 'intern/moto')
-rw-r--r--intern/moto/include/MT_assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/moto/include/MT_assert.h b/intern/moto/include/MT_assert.h
index cc6f980efb4..a0e97e6ad34 100644
--- a/intern/moto/include/MT_assert.h
+++ b/intern/moto/include/MT_assert.h
@@ -48,7 +48,7 @@
MT_CDECL int MT_QueryAssert(const char *file, int line, const char *predicate, int *do_assert);
-#ifdef NDEBUG
+#if !defined(DEBUG)
#define MT_assert(predicate) ((void)0)
#define BREAKPOINT() ((void)0)
#else
@@ -93,7 +93,7 @@ abort();
}
#endif /* windows */
-#endif /* NDEBUG */
+#endif /* !defined(DEBUG) */
#endif