From 256afff8e87649452a7a307fda10ebfaec3f2de0 Mon Sep 17 00:00:00 2001 From: Jay Kruer Date: Wed, 15 Jun 2022 18:10:06 -0700 Subject: [PATCH] Fix Windows build --- CLI/Repl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CLI/Repl.cpp b/CLI/Repl.cpp index 5818958d..6ec68fa8 100644 --- a/CLI/Repl.cpp +++ b/CLI/Repl.cpp @@ -501,6 +501,7 @@ static void runReplImpl(lua_State* L) } } +#ifndef _WIN32 void ihandler(lua_State* L, int k) { if (sigint_received) { // when VM_INTERRUPT sees that the status is non-zero it will @@ -509,6 +510,7 @@ void ihandler(lua_State* L, int k) { sigint_received = 0; } }; +#ifndef _WIN32 static void runRepl() {