py/persistentcode: Enable persistent code saving for Windows ports.

pull/5122/head
stijn 2017-08-14 11:57:58 +02:00 zatwierdzone przez Damien George
rodzic 6957939604
commit 22131a6738
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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