summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index d978992988..8550ac39ac 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -181,9 +181,6 @@ Q(memoryview)
#endif
Q(bytes)
Q(callable)
-#if MICROPY_PY_STRUCT
-Q(calcsize)
-#endif
Q(chr)
Q(classmethod)
Q(_collections)
@@ -467,6 +464,7 @@ Q(print_exception)
Q(struct)
Q(pack)
Q(unpack)
+Q(calcsize)
#endif
#if MICROPY_PY_UCTYPES