From 2689e16bb6aa8e1e63d387607e5dba561cc18d4d Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Thu, 27 Apr 2023 19:33:35 +0800 Subject: [PATCH] ... --- src/repl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/repl.h b/src/repl.h index 1434dd7e..f766257a 100644 --- a/src/repl.h +++ b/src/repl.h @@ -3,13 +3,15 @@ #include "compiler.h" #include "ceval.h" +#ifdef _WIN32 +#define WIN32_LEAN_AND_MEAN +#include +#endif + namespace pkpy{ #ifdef _WIN32 -#define WIN32_LEAN_AND_MEAN -#include - inline std::string getline(bool* eof=nullptr) { HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE); std::wstringstream wss;