diff options
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 411817130..2a24061c9 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -184,10 +184,15 @@ extern const struct _mp_obj_fun_builtin_t mp_builtin_open_obj; { MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj }, \ { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, +#define MP_STATE_PORT MP_STATE_VM + #define MICROPY_PORT_ROOT_POINTERS \ + const char *readline_hist[50]; \ mp_obj_t keyboard_interrupt_obj; \ void *mmap_region_head; \ +#define MICROPY_HAL_H "unix_mphal.h" + // We need to provide a declaration/definition of alloca() #ifdef __FreeBSD__ #include <stdlib.h> |