summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-24 20:43:12 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-24 20:43:12 (GMT)
commite1cd6c175b8632fa9c6d3a40ccabed3cfc45600b (patch)
treeb625a7d7b277c025ff523cda61a40a4ef8ea53c0 /Include/object.h
parent01b68fd2243608688341c75be00429f1dffdc396 (diff)
downloadcpython-e1cd6c175b8632fa9c6d3a40ccabed3cfc45600b.zip
cpython-e1cd6c175b8632fa9c6d3a40ccabed3cfc45600b.tar.gz
cpython-e1cd6c175b8632fa9c6d3a40ccabed3cfc45600b.tar.bz2
don't use NDEBUG
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Include/object.h b/Include/object.h
index 5727747..a79d1f7 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -28,10 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
-#ifndef DEBUG
-#define NDEBUG
-#endif
-
/* Object and type object interface */
/*
@@ -81,7 +77,7 @@ whose size is determined when the object is allocated.
123456789-123456789-123456789-123456789-123456789-123456789-123456789-12
*/
-#ifndef NDEBUG
+#ifdef DEBUG
/* Turn on heavy reference debugging */
#define Py_TRACE_REFS
@@ -89,7 +85,7 @@ whose size is determined when the object is allocated.
/* Turn on reference counting */
#define Py_REF_DEBUG
-#endif /* NDEBUG */
+#endif /* DEBUG */
#ifdef Py_TRACE_REFS
#define PyObject_HEAD \