summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/base/emoji.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/base/emoji.lua b/xmake/core/base/emoji.lua
index 4bf22a8b6..7279a3ca8 100644
--- a/xmake/core/base/emoji.lua
+++ b/xmake/core/base/emoji.lua
@@ -37,7 +37,9 @@ emoji.keys =
function emoji.translate(str)
-- check supported?
- -- TODO
+ if xmake._HOST ~= "macosx" then
+ return nil
+ end
-- translate it
return emoji.keys[str]