summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-17 16:34:43 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-17 16:34:43 +0000
commit175146ae9f4c4790052a62f4d7f03c9d983589b9 (patch)
tree66ac550f6bdbec67c2d7265a99c0437eefdbf44f
parent4e79cb88c22a7b2d52381f0a1a1ffdb5015fa617 (diff)
Add DUNICODE to windows build.
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index ad46d8188..9bd8d2d50 100644
--- a/wscript
+++ b/wscript
@@ -22,7 +22,7 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing', '-Wall', '-Wno-attributes'])
if conf.options.target_windows:
- conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H'])
+ conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H', '-DUNICODE'])
wxrc = os.popen('wx-config --rescomp').read().split()[1:]
print wxrc
conf.env.append_value('WINRCFLAGS', wxrc)