summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/persistentcode.c')
-rw-r--r--py/persistentcode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/py/persistentcode.c b/py/persistentcode.c
index fac512fb4..42efcbfbb 100644
--- a/py/persistentcode.c
+++ b/py/persistentcode.c
@@ -99,7 +99,6 @@ STATIC void extract_prelude(const byte **ip, const byte **ip2, bytecode_prelude_
#if MICROPY_PERSISTENT_CODE_LOAD
#include "py/parsenum.h"
-#include "py/bc0.h"
STATIC int read_byte(mp_reader_t *reader) {
return reader->readbyte(reader->data);
@@ -376,7 +375,7 @@ void mp_raw_code_save(mp_raw_code_t *rc, mp_print_t *print) {
// here we define mp_raw_code_save_file depending on the port
// TODO abstract this away properly
-#if defined(__i386__) || defined(__x86_64__) || (defined(__arm__) && (defined(__unix__)))
+#if defined(__i386__) || defined(__x86_64__) || defined(__unix__)
#include <unistd.h>
#include <sys/stat.h>