From 32e98257e2b60da7eddb638577539abdbe12ee55 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Wed, 16 Nov 2016 20:27:12 +1100
Subject: [PATCH] windows: Enable READER_POSIX to get access to
 lexer_new_from_file.

---
 windows/mpconfigport.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h
index 88596977c..6156ad39e 100644
--- a/windows/mpconfigport.h
+++ b/windows/mpconfigport.h
@@ -43,6 +43,7 @@
 #define MICROPY_MALLOC_USES_ALLOCATED_SIZE (1)
 #define MICROPY_MEM_STATS           (1)
 #define MICROPY_DEBUG_PRINTERS      (1)
+#define MICROPY_READER_POSIX        (1)
 #define MICROPY_USE_READLINE_HISTORY (1)
 #define MICROPY_HELPER_REPL         (1)
 #define MICROPY_REPL_EMACS_KEYS     (1)
-- 
GitLab