summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-06-30 05:02:53 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2000-06-30 05:02:53 +0000
commitf7f593f4b5497bb2267327f1191c31dda8d3f94f (patch)
tree61378d5504ee55b4563d457f2587ecff46bff3e7 /PC
parentafa84cf0d4e87491df101c181a762fefd091d62e (diff)
downloadcpython-f7f593f4b5497bb2267327f1191c31dda8d3f94f.tar.gz
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 f295f856e5..0ff4c93d13 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 dfe5118427..43bb35f137 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 */