Skip to content
Snippets Groups Projects
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

parent 015774a0
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment