summaryrefslogtreecommitdiff
path: root/bam.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bam.lua')
-rw-r--r--bam.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/bam.lua b/bam.lua
index ec87f9395..e22669bd1 100644
--- a/bam.lua
+++ b/bam.lua
@@ -240,6 +240,10 @@ function GenerateWindowsSettings(settings, conf, target_arch, compiler)
settings.cc.defines:Add("_WIN32_WINNT=0x0501")
end
+ -- Unicode support
+ settings.cc.defines:Add("UNICODE") -- Windows headers
+ settings.cc.defines:Add("_UNICODE") -- C-runtime
+
local icons = SharedIcons(compiler)
local manifests = SharedManifests(compiler)