summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-30 05:02:53 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-30 05:02:53 (GMT)
commitc5007aa5c3d64109578cf12b026ca6305acff97b (patch)
treea576fb8432ea60a6b6db49c09937551903938003 /PC
parent4e542a3d9995addd08e7675a63cb0c8ee61a5010 (diff)
downloadcpython-c5007aa5c3d64109578cf12b026ca6305acff97b.zip
cpython-c5007aa5c3d64109578cf12b026ca6305acff97b.tar.gz
cpython-c5007aa5c3d64109578cf12b026ca6305acff97b.tar.bz2
final patches from Neil Schemenauer for garbage collection
Diffstat (limited to 'PC')
-rw-r--r--PC/config.c6
-rw-r--r--PC/config.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index f295f85..0ff4c93 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -43,6 +43,9 @@ extern void initbinascii();
#endif
extern void initcmath();
extern void initerrno();
+#ifdef WITH_CYCLE_GC
+extern void initgc();
+#endif
#ifndef MS_WIN64
extern void initimageop();
#endif
@@ -89,6 +92,9 @@ struct _inittab _PyImport_Inittab[] = {
#endif
{"cmath", initcmath},
{"errno", initerrno},
+#ifdef WITH_CYCLE_GC
+ {"gc", initgc},
+#endif
#ifndef MS_WIN64
{"imageop", initimageop},
#endif
diff --git a/PC/config.h b/PC/config.h
index dfe5118..43bb35f 100644
--- a/PC/config.h
+++ b/PC/config.h
@@ -451,6 +451,9 @@ typedef long intptr_t;
/* Define if you want to use the GNU readline library */
/* #define WITH_READLINE 1 */
+/* Define if you want cycle garbage collection */
+/* #define WITH_CYCLE_GC 1 */
+
/* Define if you have clock. */
/* #define HAVE_CLOCK */