diff Include/Python.h @ 24121:bf3421a28744 legacy-trunk

Removed WITH_CYCLE_GC #ifdef-ery. Holes: + I'm not sure what to do about configure.in. Left it alone. + Ditto pyexpat.c. Fred or Martin will know what to do.
author Tim Peters <tim.peters@gmail.com>
date Sun, 07 Jul 2002 03:59:34 +0000
parents f7ce696979e1
children 25367c7c40a4
line wrap: on
line diff
--- a/Include/Python.h	Sat Jul 06 18:55:01 2002 +0000
+++ b/Include/Python.h	Sun Jul 07 03:59:34 2002 +0000
@@ -23,6 +23,14 @@
 #include "patchlevel.h"
 #include "pyconfig.h"
 
+/* Cyclic gc is always enabled, starting with release 2.3a1.  Supply the
+ * old symbol for the benefit of extension modules written before then
+ * that may be conditionalizing on it.  The core doesn't use it anymore.
+ */
+#ifndef WITH_CYCLE_GC
+#define WITH_CYCLE_GC 1
+#endif
+
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
 #endif