diff options
| author | ruki <[email protected]> | 2018-08-15 00:47:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-14 22:47:54 +0800 |
| commit | 209263cc742c40416da46cf1af5f63a8a9a59df4 (patch) | |
| tree | 1fcb4ca231210efdc92ae6d29235b2d9c0afdc85 | |
| parent | 7824ce2bf02fe0438a04f074152847a773130d17 (diff) | |
remove unused codes
| -rw-r--r-- | core/src/xmake/machine.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index b9eceb6ae..24a7ca60a 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -444,24 +444,6 @@ static tb_void_t xm_machine_init_arch(xm_machine_t* machine) // check tb_assert_and_check_return(machine && machine->lua); -#if 0 -#if defined(TB_ARCH_x86) -# ifdef TB_CONFIG_OS_WINDOWS - lua_pushstring(machine->lua, "x86"); -# else - lua_pushstring(machine->lua, "i386"); -# endif -#elif defined(TB_ARCH_x64) -# ifdef TB_CONFIG_OS_WINDOWS - lua_pushstring(machine->lua, "x64"); -# else - lua_pushstring(machine->lua, "x86_64"); -# endif -#else - lua_pushstring(machine->lua, TB_ARCH_STRING); -#endif -#endif - #if defined(TB_CONFIG_OS_WINDOWS) // the GetNativeSystemInfo function type |
