summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 69fee0654..8ece15166 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -153,10 +153,12 @@ typedef struct _mp_state_vm_t {
// dictionary for the __main__ module
mp_obj_dict_t dict_main;
+ #if MICROPY_PY_SYS
// If MICROPY_PY_SYS_PATH_ARGV_DEFAULTS is not enabled then these two lists
// must be initialised after the call to mp_init.
mp_obj_list_t mp_sys_path_obj;
mp_obj_list_t mp_sys_argv_obj;
+ #endif
// dictionary for overridden builtins
#if MICROPY_CAN_OVERRIDE_BUILTINS