summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2019-04-14 20:51:48 +0800
committerruki <[email protected]>2019-04-14 20:51:48 +0800
commit9e6f1bb93987f6eb8e4b0c73e4bb4b3bf6004a18 (patch)
tree62928deb91e10f94976a1069a55f6313a7a52688 /core/src/xmake/machine.c
parent05dc38e6bf13a02c26aacff2c2f41741142e1f92 (diff)
remove versioninfo
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index cdff14964..02334ba9b 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -80,7 +80,6 @@ tb_int_t xm_os_filesize(lua_State* lua);
tb_int_t xm_os_emptydir(lua_State* lua);
tb_int_t xm_os_strerror(lua_State* lua);
tb_int_t xm_os_getwinsize(lua_State* lua);
-tb_int_t xm_os_versioninfo(lua_State* lua);
#ifndef TB_CONFIG_OS_WINDOWS
tb_int_t xm_os_uid(lua_State* lua);
tb_int_t xm_os_gid(lua_State* lua);
@@ -173,7 +172,6 @@ static luaL_Reg const g_os_functions[] =
, { "strerror", xm_os_strerror }
, { "filesize", xm_os_filesize }
, { "getwinsize", xm_os_getwinsize}
-, { "versioninfo", xm_os_versioninfo}
#ifndef TB_CONFIG_OS_WINDOWS
, { "uid", xm_os_uid }
, { "gid", xm_os_gid }