summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index f8b788aa7..77661a445 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -119,7 +119,6 @@ tb_int_t xm_hash_sha256(lua_State* lua);
// the windows functions
#ifdef TB_CONFIG_OS_WINDOWS
-tb_int_t xm_winos_mbstoutf8(lua_State* lua);
tb_int_t xm_winos_cp_info(lua_State* lua);
tb_int_t xm_winos_console_cp(lua_State* lua);
tb_int_t xm_winos_console_output_cp(lua_State* lua);
@@ -209,8 +208,7 @@ static luaL_Reg const g_os_functions[] =
#ifdef TB_CONFIG_OS_WINDOWS
static luaL_Reg const g_winos_functions[] =
{
- { "mbstoutf8", xm_winos_mbstoutf8 }
-, { "cp_info", xm_winos_cp_info }
+ { "cp_info", xm_winos_cp_info }
, { "console_cp", xm_winos_console_cp }
, { "console_output_cp", xm_winos_console_output_cp }
, { "oem_cp", xm_winos_oem_cp }