Skip to content
Snippets Groups Projects
Commit a314b842 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .mpy files.

Actual loading of .mpy files isn't tested.
parent a896951a
No related branches found
No related tags found
No related merge requests found
...@@ -381,7 +381,7 @@ mp_raw_code_t *mp_raw_code_load_mem(const byte *buf, size_t len) { ...@@ -381,7 +381,7 @@ mp_raw_code_t *mp_raw_code_load_mem(const byte *buf, size_t len) {
// here we define mp_raw_code_load_file depending on the port // here we define mp_raw_code_load_file depending on the port
// TODO abstract this away properly // TODO abstract this away properly
#if defined(__i386__) || defined(__x86_64__) || (defined(__arm__) && (defined(__unix__))) #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || (defined(__arm__) && (defined(__unix__)))
// unix file reader // unix file reader
#include <sys/stat.h> #include <sys/stat.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment