summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-05 20:35:48 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-05 20:35:48 +0100
commit12bab72d93498958ddef26c1a2dd7c69a9f9cf8d (patch)
tree7415b5201b6dca0daf60a9968543b398fab49baa /unix/mpconfigport.h
parent8123a3339dc7381a079afa90649ce140075eb2e2 (diff)
downloadmicropython-12bab72d93498958ddef26c1a2dd7c69a9f9cf8d.tar.gz
micropython-12bab72d93498958ddef26c1a2dd7c69a9f9cf8d.zip
Improve GC finalisation code; add option to disable it.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 254d14d98f..b8ee020f1e 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -4,6 +4,7 @@
#define MICROPY_EMIT_THUMB (0)
#define MICROPY_EMIT_INLINE_THUMB (0)
#define MICROPY_ENABLE_GC (1)
+#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_MEM_STATS (1)
#define MICROPY_DEBUG_PRINTERS (1)
#define MICROPY_ENABLE_REPL_HELPERS (1)