diff options
-rw-r--r-- | Objects/object.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index fa35b80..747657c 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -473,7 +473,7 @@ object NoObject = { }; -#ifdef TRACE_REFS +#ifdef Py_TRACE_REFS static object refchain = {&refchain, &refchain}; @@ -576,3 +576,7 @@ getobjects(self, args) /* Hack to force loading of cobject.o */ static PyTypeObject *cobject_hack = &PyCObject_Type; + + +/* Hack to force loading of abstract.o */ +static int (*abstract_hack) FPROTO((PyObject *)) = &PyObject_Length; |