py/emitglue.c: provide mp_raw_code_load_file for any unix architecture

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
esp8266-idle-ticks
Chris Packham 2016-09-03 20:44:12 +12:00 committed by Damien George
parent 015774a04f
commit 8c6856d2e7
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,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(__aarch64__) || (defined(__arm__) && (defined(__unix__)))
#if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || defined(__unix__)
// unix file reader
#include <sys/stat.h>