summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 2ea08108b7f..b95d8a11c6b 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -333,6 +333,11 @@ if _OPTIONS["targetos"]=="windows" then
"X64_WINDOWS_ABI",
}
configuration { }
+ defines {
+ "UNICODE",
+ "_UNICODE",
+ "main=utf8_main",
+ }
end
-- Avoid error when invoking genie --help.