mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix Windows build
This commit is contained in:
parent
fb1ccd5958
commit
256afff8e8
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue