diff options
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 22724c84e4..1f2862ab0e 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -115,6 +115,11 @@ typedef double mp_float_t; #define MICROPY_ENABLE_MOD_IO (1) #endif +// Whether to provide "struct" module +#ifndef MICROPY_ENABLE_MOD_STRUCT +#define MICROPY_ENABLE_MOD_STRUCT (1) +#endif + // Whether to support slice object and correspondingly // slice subscript operators #ifndef MICROPY_ENABLE_SLICE |