summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-13 06:43:18 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-13 07:02:56 +0300
commit5500cdeec76e5be33f03fe63063a6d0fca40d133 (patch)
tree1c6caf066491d5f33699d598e26f42d10d4a8585 /py/mpconfig.h
parent18bef25a0cd99029ebfaa92a29187c56ea96a835 (diff)
downloadmicropython-5500cdeec76e5be33f03fe63063a6d0fca40d133.tar.gz
micropython-5500cdeec76e5be33f03fe63063a6d0fca40d133.zip
py, unix: Convert sys module to static representation.
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 2c118b4bba..119d0177dd 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -120,6 +120,11 @@ typedef double mp_float_t;
#define MICROPY_ENABLE_MOD_STRUCT (1)
#endif
+// Whether to provide "sys" module
+#ifndef MICROPY_ENABLE_MOD_SYS
+#define MICROPY_ENABLE_MOD_SYS (1)
+#endif
+
// Whether to support slice object and correspondingly
// slice subscript operators
#ifndef MICROPY_ENABLE_SLICE