summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Modules/macconfig.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Modules/macconfig.c b/Mac/Modules/macconfig.c
index 266ac3b..62fa76b 100644
--- a/Mac/Modules/macconfig.c
+++ b/Mac/Modules/macconfig.c
@@ -162,6 +162,9 @@ extern void initthread();
#ifdef USE_PYEXPAT
extern void initpyexpat();
#endif
+#ifdef WITH_CYCLE_GC
+extern void initgc();
+#endif
extern void initcPickle();
extern void initcStringIO();
@@ -286,6 +289,9 @@ struct _inittab _PyImport_Inittab[] = {
#ifdef USE_PYEXPAT
{"pyexpat", initpyexpat},
#endif
+#ifdef WITH_CYCLE_GC
+ {"gc", initgc},
+#endif
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},
{"_locale", init_locale},