diff options
| author | ruki <[email protected]> | 2023-01-07 00:07:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-06 18:45:02 +0800 |
| commit | cd41fd1b0a40da26d14ea9d3512436b7571f07dc (patch) | |
| tree | dc1c4a7a925253ba4746cc9611265e831b75c2bc /core/src | |
| parent | 41a79045a74bccf4804a8ba11ef841ac18e403ab (diff) | |
fix xmake install
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/os/syserror.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/os/syserror.c b/core/src/xmake/os/syserror.c index c93a4eeda..1ab6afb23 100644 --- a/core/src/xmake/os/syserror.c +++ b/core/src/xmake/os/syserror.c @@ -45,6 +45,7 @@ tb_int_t xm_os_syserror(lua_State* lua) { case TB_STATE_SYSERROR_NOT_PERM: err = 1; break; case TB_STATE_SYSERROR_NOT_FILEDIR: err = 2; break; + case TB_STATE_SYSERROR_NOT_ACCESS: err = 3; break; case TB_STATE_SYSERROR_UNKNOWN_ERROR: err = -1; break; } lua_pushinteger(lua, err); |
