diff options
| author | ruki <[email protected]> | 2021-09-18 09:51:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 09:51:33 +0800 |
| commit | 6f0f25b64487a32989cb718aa50d9bc729f46d66 (patch) | |
| tree | 1f4b3d523cb591aab977363fdd241ae62b46661e /core/src/xmake/sandbox/interactive.c | |
| parent | eb826246511e2afca394302aecccdf18d02a297f (diff) | |
build lua for windows
Diffstat (limited to 'core/src/xmake/sandbox/interactive.c')
| -rw-r--r-- | core/src/xmake/sandbox/interactive.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/xmake/sandbox/interactive.c b/core/src/xmake/sandbox/interactive.c index 29855aec6..023759448 100644 --- a/core/src/xmake/sandbox/interactive.c +++ b/core/src/xmake/sandbox/interactive.c @@ -73,6 +73,7 @@ static tb_void_t xm_sandbox_report(lua_State *lua) } } +#ifdef USE_LUAJIT // the traceback function static tb_int_t xm_sandbox_traceback(lua_State *lua) { @@ -122,6 +123,7 @@ static tb_int_t xm_sandbox_docall(lua_State* lua, tb_int_t narg, tb_int_t clear) // ok? return status; } +#endif // this line is incomplete? static tb_int_t xm_sandbox_incomplete(lua_State *lua, tb_int_t status) @@ -327,9 +329,6 @@ tb_int_t xm_sandbox_interactive(lua_State* lua) * stack: arg1(top) scriptfunc -> ... */ status = xm_sandbox_docall(lua, 0, 0); -#else - // TODO - (void)xm_sandbox_docall; #endif } |
