summaryrefslogtreecommitdiff
path: root/core/src/xmake/engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/xmake/engine.c')
-rw-r--r--core/src/xmake/engine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c
index a0a019c33..aa58cc47c 100644
--- a/core/src/xmake/engine.c
+++ b/core/src/xmake/engine.c
@@ -877,6 +877,8 @@ static tb_void_t xm_engine_init_host(xm_engine_t* engine)
syshost = "ios";
#elif defined(TB_CONFIG_OS_ANDROID)
syshost = "android";
+#elif defined(TB_CONFIG_OS_HAIKU)
+ syshost = "haiku";
#endif
lua_pushstring(engine->lua, syshost? syshost : "unknown");
lua_setglobal(engine->lua, "_HOST");