diff options
| author | ruki <[email protected]> | 2019-08-14 22:35:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-08-14 09:30:59 +0800 |
| commit | 4c2f262933bc2712d39b89a68d2289ff17e5ceba (patch) | |
| tree | 64c07b236a8b57cf9d1394d2bab8352b7d405f32 | |
| parent | 907bda822978387e82b369b2fdb47dfc62904fca (diff) | |
revert termux/platform
| -rw-r--r-- | core/src/xmake/machine.c | 5 |
1 files 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 |
