diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-29 10:46:47 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-11-29 10:46:47 -0800 |
| commit | 888efa54e22daa53b84121353ec512a3b28a99b7 (patch) | |
| tree | 7852f3f0ba95a65a425633fdcc5bac77db580a7c /py/objmodule.c | |
| parent | d2aa05a9fe490cad54f6860eb7e59bcb76c57899 (diff) | |
Only include uheap in debug builds.
Diffstat (limited to 'py/objmodule.c')
| -rw-r--r-- | py/objmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/objmodule.c b/py/objmodule.c index 7ed3175c0..48e373b84 100644 --- a/py/objmodule.c +++ b/py/objmodule.c @@ -219,6 +219,10 @@ STATIC const mp_rom_map_elem_t mp_builtin_module_table[] = { // extra builtin modules as defined by a port MICROPY_PORT_BUILTIN_MODULES + +#if defined(DEBUG) && defined(MICROPY_PORT_BUILTIN_DEBUG_MODULES) + , MICROPY_PORT_BUILTIN_DEBUG_MODULES +#endif }; STATIC MP_DEFINE_CONST_MAP(mp_builtin_module_map, mp_builtin_module_table); |
