diff options
Diffstat (limited to 'minimal/mpconfigport.h')
| -rw-r--r-- | minimal/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index ce4f8f240..8744ca950 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -74,7 +74,7 @@ typedef long mp_off_t; // extra built in names to add to the global namespace #define MICROPY_PORT_BUILTINS \ - { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, + { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) }, // We need to provide a declaration/definition of alloca() #include <alloca.h> |
