summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-30 16:17:54 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-30 16:17:54 (GMT)
commit408027ea4635de5c892b28c4fdf41840eb9089a4 (patch)
tree26a28bfbfa94697565ce4440da84772e2bb96acb /Include/object.h
parenta0dc1c4a613f11e1b6e20fa25658823533ca201b (diff)
downloadcpython-408027ea4635de5c892b28c4fdf41840eb9089a4.zip
cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.gz
cpython-408027ea4635de5c892b28c4fdf41840eb9089a4.tar.bz2
Rename DEBUG macro to Py_DEBUG
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index e876e91..54b5481 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -84,7 +84,7 @@ whose size is determined when the object is allocated.
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
*/
-#ifdef DEBUG
+#ifdef Py_DEBUG
/* Turn on heavy reference debugging */
#define Py_TRACE_REFS
@@ -92,7 +92,7 @@ whose size is determined when the object is allocated.
/* Turn on reference counting */
#define Py_REF_DEBUG
-#endif /* DEBUG */
+#endif /* Py_DEBUG */
#ifdef Py_TRACE_REFS
#define PyObject_HEAD \