aboutsummaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-05-06 02:16:43 +0300
committerPaul Sokolovsky2014-05-06 02:28:49 +0300
commitf9e54e0ea53c774c4458c4af11764e5b929a2b33 (patch)
treec3caecd5b32920f55aff1b7d553be316c6dbf454 /py/mpconfig.h
parent912ca7701d0749b6b1442e4e7e6e8cf979b10e2d (diff)
modgc: Add new module for GC-related functionality.
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 435140dc7..48494a21f 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -200,6 +200,11 @@ typedef double mp_float_t;
#define MICROPY_ENABLE_MOD_CMATH (0)
#endif
+// Whether to provide "gc" module
+#ifndef MICROPY_ENABLE_MOD_GC
+#define MICROPY_ENABLE_MOD_GC (1)
+#endif
+
// Whether to provide "io" module
#ifndef MICROPY_ENABLE_MOD_IO
#define MICROPY_ENABLE_MOD_IO (1)