Fix Windows build

This commit is contained in:
Jay Kruer 2022-06-15 18:10:06 -07:00
parent fb1ccd5958
commit 256afff8e8

View file

@ -501,6 +501,7 @@ static void runReplImpl(lua_State* L)
} }
} }
#ifndef _WIN32
void ihandler(lua_State* L, int k) { void ihandler(lua_State* L, int k) {
if (sigint_received) { if (sigint_received) {
// when VM_INTERRUPT sees that the status is non-zero it will // 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; sigint_received = 0;
} }
}; };
#ifndef _WIN32
static void runRepl() static void runRepl()
{ {