diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-03-07 12:47:26 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-03-07 12:47:26 +0100 |
| commit | 3891dde7ffd96eff8d79d9816f49b7543ee15769 (patch) | |
| tree | 298ecd5171f77ad054e953f41fe34e20d44c6880 | |
| parent | 7ecbc3a148da67f829a9df47a66b68926ffa2fee (diff) | |
shared-bindings: Reenable struct_time. It was turned off when playing with LTO and never re-enabled.
| -rw-r--r-- | shared-bindings/time/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 8ad05f16b..b258b3bbd 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -139,7 +139,7 @@ STATIC const mp_map_elem_t time_module_globals_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_monotonic), (mp_obj_t)&time_monotonic_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_sleep), (mp_obj_t)&time_sleep_obj }, #if MICROPY_PY_COLLECTIONS - //{ MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj }, + { MP_OBJ_NEW_QSTR(MP_QSTR_struct_time), (mp_obj_t)&struct_time_type_obj }, #endif }; |
