summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
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");