Assertions key off NDEBUG

This commit is contained in:
Raymond Hettinger 2013-07-26 23:14:22 -07:00
parent a44549a959
commit 3223dd5c22
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ typedef struct BLOCK {
* block is freed leaving another existing block as the new endpoint.
*/
#ifdef Py_DEBUG
#ifndef NDEBUG
#define MARK_END(link) link = NULL;
#define CHECK_END(link) assert(link == NULL);
#define CHECK_NOT_END(link) assert(link != NULL);