Commit 8c6856d2 authored by Chris Packham's avatar Chris Packham Committed by Damien George
Browse files

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



Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
parent 015774a0
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment