Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 3605:aa5f3ecbf56f legacy-trunk
don't use NDEBUG
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 24 May 1996 20:43:12 +0000 |
| parents | 4c7bab4cdca6 |
| children | 44902516614a |
line wrap: on
line diff
--- a/Include/object.h Fri May 24 18:58:43 1996 +0000 +++ b/Include/object.h Fri May 24 20:43:12 1996 +0000 @@ -28,10 +28,6 @@ ******************************************************************/ -#ifndef DEBUG -#define NDEBUG -#endif - /* Object and type object interface */ /* @@ -81,7 +77,7 @@ 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 @@ /* Turn on reference counting */ #define Py_REF_DEBUG -#endif /* NDEBUG */ +#endif /* DEBUG */ #ifdef Py_TRACE_REFS #define PyObject_HEAD \
