summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-02-11 22:40:03 +0000
committerDamien George <damien.p.george@gmail.com>2016-02-25 10:12:30 +0000
commitac236625505014ea74a3b443962a7b27e1552a96 (patch)
treea31b5f15e076a3dff0a9f72300003419e0ea44cb
parent476c15290decdfd01942c58a29edf06b8f0f49e5 (diff)
unix: Enabled importing of persistent bytecode (.mpy files).
-rw-r--r--unix/mpconfigport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 024f65b74..36e98735f 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -27,6 +27,7 @@
// options to control how Micro Python is built
#define MICROPY_ALLOC_PATH_MAX (PATH_MAX)
+#define MICROPY_PERSISTENT_CODE_LOAD (1)
#if !defined(MICROPY_EMIT_X64) && defined(__x86_64__)
#define MICROPY_EMIT_X64 (1)
#endif