summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2015-07-02 14:54:00 +0800
committerruki <[email protected]>2015-07-02 14:54:00 +0800
commitf69c00a7ddcb835fe52169fa9b7e097680fba5c1 (patch)
treefdbe29e9037607dd09335a117c730cc3f07a04d1 /core/src/xmake/machine.c
parentc6cc4e543cbfc3e23761ebb4cc0f825055928ed2 (diff)
update tbox and fix copy file bug
Diffstat (limited to 'core/src/xmake/machine.c')
-rwxr-xr-xcore/src/xmake/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index 0898f9807..7c53cbd20 100755
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -251,7 +251,7 @@ xm_machine_ref_t xm_machine_init()
// init host
#if defined(TB_CONFIG_OS_WINDOWS)
lua_pushstring(impl->lua, "windows");
-#elif defined(TB_CONFIG_OS_MAC)
+#elif defined(TB_CONFIG_OS_MACOSX)
lua_pushstring(impl->lua, "macosx");
#elif defined(TB_CONFIG_OS_LINUX)
lua_pushstring(impl->lua, "linux");