summaryrefslogtreecommitdiffstats
path: root/Modules/_collectionsmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-07-27 06:14:22 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-07-27 06:14:22 (GMT)
commit3223dd5c223d24706eb20fa1a46d6057dbdc826c (patch)
treeee38f205809b227763f3d290cfa27d4f071db5c7 /Modules/_collectionsmodule.c
parenta44549a95906db3b73cfc37785565e10e347423a (diff)
downloadcpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.zip
cpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.gz
cpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.bz2
Assertions key off NDEBUG
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
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);