summaryrefslogtreecommitdiff
path: root/py/gc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-07 15:20:33 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-07 15:20:33 +0000
commitd3ebe4829d920542e5af462e75179e4f0cadb946 (patch)
tree98b13b97030af834ef0a18114007edc43d442acf /py/gc.c
parent136f67523b10d24dd65cb25e49e07a7e4e5341a1 (diff)
Factor and simplify Makefile's and mpconfig, part 2.
Diffstat (limited to 'py/gc.c')
-rw-r--r--py/gc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/gc.c b/py/gc.c
index 7d4cac6e7..054a3cc31 100644
--- a/py/gc.c
+++ b/py/gc.c
@@ -6,6 +6,8 @@
#include "mpconfig.h"
#include "gc.h"
+#if MICROPY_ENABLE_GC
+
// a machine word is big enough to hold a pointer
/*
#define BYTES_PER_WORD (8)
@@ -380,3 +382,5 @@ int main(void) {
gc_dump_at();
}
*/
+
+#endif // MICROPY_ENABLE_GC