summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorDaniel Coonce <danielcoonce@gmail.com>2021-01-30 21:35:57 -0600
committerMartin Michlmayr <tbm@cyrius.com>2021-02-02 18:19:31 +0800
commit13eb0a574f22bb40e8ed0ea4be70be44eb266938 (patch)
treedabf4c5e63a9c16341b79465dc236e774820c007 /src/system.hh.in
parentd8ed12f600bf9ca958cb9f285ceb10f5d8accbd3 (diff)
downloadfork-ledger-13eb0a574f22bb40e8ed0ea4be70be44eb266938.tar.gz
fork-ledger-13eb0a574f22bb40e8ed0ea4be70be44eb266938.tar.bz2
fork-ledger-13eb0a574f22bb40e8ed0ea4be70be44eb266938.zip
Use Boost library to read argv as UTF-8 in Windows
Windows uses UTF-16 for command line arguments, so use boost::nowide to convert to UTF-8. Fixes #1986
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 97b2bead..0cfcf9ed 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -71,6 +71,7 @@
#define HAVE_GPGME @HAVE_GPGME@
#define HAVE_BOOST_REGEX_UNICODE @HAVE_BOOST_REGEX_UNICODE@
#define HAVE_BOOST_159_ISSUE_39 @HAVE_BOOST_159_ISSUE_39@
+#define HAVE_BOOST_NOWIDE @HAVE_BOOST_NOWIDE@
#define DEBUG_MODE @DEBUG_MODE@
#define NO_ASSERTS @NO_ASSERTS@