From 4c2f262933bc2712d39b89a68d2289ff17e5ceba Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 14 Aug 2019 22:35:09 +0800 Subject: revert termux/platform --- core/src/xmake/machine.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index cf7266cd4..5e34d8fd5 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -676,13 +676,12 @@ xm_machine_ref_t xm_machine_init() lua_pushstring(machine->lua, "windows"); #elif defined(TB_CONFIG_OS_MACOSX) lua_pushstring(machine->lua, "macosx"); -#elif defined(TB_CONFIG_OS_ANDROID) || \ - defined(__ANDROID__) /* on termux/android */ - lua_pushstring(machine->lua, "android"); #elif defined(TB_CONFIG_OS_LINUX) lua_pushstring(machine->lua, "linux"); #elif defined(TB_CONFIG_OS_IOS) lua_pushstring(machine->lua, "ios"); +#elif defined(TB_CONFIG_OS_ANDROID) + lua_pushstring(machine->lua, "android"); #elif defined(TB_CONFIG_OS_LIKE_UNIX) lua_pushstring(machine->lua, "unix"); #else -- cgit v1.3.1