summaryrefslogtreecommitdiffstatshomepage
path: root/py/modstruct.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/modstruct.c')
-rw-r--r--py/modstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modstruct.c b/py/modstruct.c
index 19cf9cfd6c..39571e3efa 100644
--- a/py/modstruct.c
+++ b/py/modstruct.c
@@ -37,7 +37,7 @@
#include "binary.h"
#include "parsenum.h"
-#if MICROPY_ENABLE_MOD_STRUCT
+#if MICROPY_PY_STRUCT
STATIC char get_fmt_type(const char **fmt) {
char t = **fmt;