fix preprocessor macro usage in generator code
authorStefan Behnel <stefan_ml@behnel.de>
Wed, 13 Feb 2013 07:16:08 +0000 (08:16 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Wed, 13 Feb 2013 07:16:08 +0000 (08:16 +0100)
Cython/Utility/Generator.c

index 2a66e98..f7f258a 100644 (file)
@@ -513,7 +513,7 @@ static void __Pyx_Generator_del(PyObject *self) {
         _Py_NewReference(self);
         self->ob_refcnt = refcnt;
     }
-#if CYTHON_COMPILING_FOR_CPYTHON
+#if CYTHON_COMPILING_IN_CPYTHON
     assert(PyType_IS_GC(self->ob_type) &&
            _Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);