summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorArthur Laurent <[email protected]>2023-01-08 15:55:56 +0100
committerGitHub <[email protected]>2023-01-08 15:55:56 +0100
commit8749422a005d5150fccbfe807fbc618361a2afa1 (patch)
tree51809e3b148bcf03bb4514e837f253ca5dc92808 /core/src
parentc394913eafbc3a24485a0c88b0d891e9954b302b (diff)
parent476f1c3592aa55cd10a6986c045f1be834cf2a83 (diff)
Merge branch 'dev' into improve-clang-modules-support-with-libc++
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/os/syserror.c1
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);