diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-20 11:04:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-29 00:10:23 +0100 |
| commit | e72f3988b00b027e77abb642c4fd27a603818251 (patch) | |
| tree | 2d5ac16df751a9911adbecfcb4cff83c8e23aae9 /wscript | |
| parent | b979cb8bdf5b2f89b19327cfea65387be733f8ca (diff) | |
Define UNICODE (and _UNICODE) in the wscript on Windows.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -212,6 +212,8 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DBOOST_USE_WINDOWS_H') conf.env.append_value('CXXFLAGS', '-DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN') conf.env.append_value('CXXFLAGS', '-Wcast-align') + conf.env.append_value('CXXFLAGS', '-DUNICODE=1') + conf.env.append_value('CXXFLAGS', '-D_UNICODE=1') wxrc = os.popen('wx-config --rescomp').read().split()[1:] conf.env.append_value('WINRCFLAGS', wxrc) if conf.options.enable_debug: |
