diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-18 10:52:10 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-18 10:52:10 +0400 |
commit | a293f76cdf36220bf6f9027b5bbf75bc2cbb3def (patch) | |
tree | c1168cad86ecab55750715aaaabd75893006661c /intern/moto/include/MT_assert.h | |
parent | 4d37cf90b9d9d8ed2f0339c8ccd72481e29a4514 (diff) |
Use DEBUG instead of NDEBUG
Diffstat (limited to 'intern/moto/include/MT_assert.h')
-rw-r--r-- | intern/moto/include/MT_assert.h | 4 |
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 |