summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-07-26 23:14:22 -0700
committerRaymond Hettinger <python@rcn.com>2013-07-26 23:14:22 -0700
commit3223dd5c223d24706eb20fa1a46d6057dbdc826c (patch)
treeee38f205809b227763f3d290cfa27d4f071db5c7
parenta44549a95906db3b73cfc37785565e10e347423a (diff)
downloadcpython-git-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.gz
Assertions key off NDEBUG
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 3ff1d1fc7e..1f583b8c78 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);