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

Actual loading of .mpy files isn't tested.
stream-refactor
Paul Sokolovsky 2016-05-12 16:00:57 +03:00
parent a896951a9a
commit a314b842bb
1 changed files with 1 additions and 1 deletions

View File

@ -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
// 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
#include <sys/stat.h>