summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-01 10:53:26 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-01 10:53:26 +0200
commitd504fa25ff7e42d85447f549f18a1503ec8ee26f (patch)
tree6152e27d4440024f38a77ee0298c233808f80f6d /scripts/genie.lua
parentec0553414d51263e1759e927a77fde73ac8ccb17 (diff)
moved unicode specific build defines in genie.lua to fix tools build (nw)
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.