summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 7ecfc28c09..4067e19500 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -156,6 +156,7 @@
#define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1)
#define MICROPY_EMERGENCY_EXCEPTION_BUF_SIZE (256)
+#define MICROPY_KBD_EXCEPTION (1)
#define MICROPY_ASYNC_KBD_INTR (1)
extern const struct _mp_obj_module_t mp_module_machine;
@@ -283,7 +284,6 @@ void mp_unix_mark_exec(void);
#define MICROPY_PORT_ROOT_POINTERS \
const char *readline_hist[50]; \
- mp_obj_t keyboard_interrupt_obj; \
void *mmap_region_head; \
// We need to provide a declaration/definition of alloca()