kopia lustrzana https://github.com/micropython/micropython
py/persistentcode: Enable persistent code saving for Windows ports.
rodzic
6957939604
commit
22131a6738
|
@ -753,7 +753,7 @@ void mp_raw_code_save(mp_raw_code_t *rc, mp_print_t *print) {
|
||||||
// here we define mp_raw_code_save_file depending on the port
|
// here we define mp_raw_code_save_file depending on the port
|
||||||
// TODO abstract this away properly
|
// TODO abstract this away properly
|
||||||
|
|
||||||
#if defined(__i386__) || defined(__x86_64__) || defined(__unix__)
|
#if defined(__i386__) || defined(__x86_64__) || defined(_WIN32) || defined(__unix__)
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
Ładowanie…
Reference in New Issue