From 3891dde7ffd96eff8d79d9816f49b7543ee15769 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 7 Mar 2017 12:47:26 +0100 Subject: [PATCH] shared-bindings: Reenable struct_time. It was turned off when playing with LTO and never re-enabled. --- shared-bindings/time/__init__.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 8ad05f16bf..b258b3bbde 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 };