Skip to content

Commit 68c3b6d

Browse files
committed
windows: Enable MICROPY_PYEXEC_POSIX_FUNCTIONS.
Windows port also uses pyexec functions and needs access to the new pyexec_str_single() and pyexec_stdin() functions. Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
1 parent bd417a8 commit 68c3b6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ports/windows/mpconfigport.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@
164164
// Enable support for compile-only mode.
165165
#define MICROPY_PYEXEC_COMPILE_ONLY (1)
166166

167+
// Enable POSIX-specific pyexec functions.
168+
#define MICROPY_PYEXEC_POSIX_FUNCTIONS (1)
169+
167170
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_DETAILED)
168171
#define MICROPY_ERROR_PRINTER (&mp_stderr_print)
169172
#define MICROPY_WARNINGS (1)

0 commit comments

Comments
 (0)