From 3223dd5c223d24706eb20fa1a46d6057dbdc826c Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 26 Jul 2013 23:14:22 -0700 Subject: Assertions key off NDEBUG --- Modules/_collectionsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 3ff1d1f..1f583b8 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -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); -- cgit v0.12