summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/persistentcode.c3
-rw-r--r--py/persistentcode.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/py/persistentcode.c b/py/persistentcode.c
index 70ec2ddd65..c8d3bb8a66 100644
--- a/py/persistentcode.c
+++ b/py/persistentcode.c
@@ -40,9 +40,6 @@
#define QSTR_LAST_STATIC MP_QSTR_zip
-// The current version of .mpy files
-#define MPY_VERSION (4)
-
// Macros to encode/decode flags to/from the feature byte
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)
#define MPY_FEATURE_DECODE_FLAGS(feat) ((feat) & 3)
diff --git a/py/persistentcode.h b/py/persistentcode.h
index b27c3de2f0..2074c64fe2 100644
--- a/py/persistentcode.h
+++ b/py/persistentcode.h
@@ -30,6 +30,9 @@
#include "py/reader.h"
#include "py/emitglue.h"
+// The current version of .mpy files
+#define MPY_VERSION 4
+
enum {
MP_NATIVE_ARCH_NONE = 0,
MP_NATIVE_ARCH_X86,