diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-13 13:05:16 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-13 13:05:16 +0100 |
commit | 49f20b841d8280900ec52a051f641feba8bd5db9 (patch) | |
tree | 730c7889fea3a84b97077ff14387122c0c984e94 /py/builtintables.c | |
parent | 640e7e4779d5d6b5e53fa305e5fe824da7783090 (diff) | |
download | micropython-49f20b841d8280900ec52a051f641feba8bd5db9.tar.gz micropython-49f20b841d8280900ec52a051f641feba8bd5db9.zip |
py: Add more #if's for configurable MOD_SYS.
Diffstat (limited to 'py/builtintables.c')
-rw-r--r-- | py/builtintables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtintables.c b/py/builtintables.c index 0115ea04b5..8edc69987b 100644 --- a/py/builtintables.c +++ b/py/builtintables.c @@ -134,7 +134,9 @@ STATIC const mp_map_elem_t mp_builtin_module_table[] = { #if MICROPY_ENABLE_FLOAT { MP_OBJ_NEW_QSTR(MP_QSTR_math), (mp_obj_t)&mp_module_math }, #endif +#if MICROPY_ENABLE_MOD_SYS { MP_OBJ_NEW_QSTR(MP_QSTR_sys), (mp_obj_t)&mp_module_sys }, +#endif // extra builtin modules as defined by a port MICROPY_EXTRA_BUILTIN_MODULES |