aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-01-03 23:41:58 +0100
committerMarcoFalke <falke.marco@gmail.com>2019-01-03 23:41:59 +0100
commitd71d0d7b7f3f1452ec59c68f9e57f62f60d6dbb3 (patch)
tree328566a239f95a642e6eecb6a0080a6632ae5774 /depends
parent1d73636fdf1ef85c1f62841953e1cf01a6c3bfd0 (diff)
parent5bb0164ceecc2e61f1839b482e821909e05a736e (diff)
downloadbitcoin-d71d0d7b7f3f1452ec59c68f9e57f62f60d6dbb3.tar.xz
Merge #13884: depends: Enable bdb unicode support for Windows
5bb0164cee depends: Enable unicode support on dbd for Windows (Chun Kuan Lee) Pull request description: define `UNICODE` and `_UNICODE` while compiling for Windows. This would make dbd read filename as utf8 string. Tree-SHA512: 58ee86ca5333c416c7c4db8266887c085c486cabfbb68c6bd0e66519abb3abfedac6bb7d28e4228eb5c2c4436e4e5060eb7b22490044143b6676d23fc627540a
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/bdb.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk
index 6c9876c2c7..3cd2e28858 100644
--- a/depends/packages/bdb.mk
+++ b/depends/packages/bdb.mk
@@ -10,6 +10,7 @@ $(package)_config_opts=--disable-shared --enable-cxx --disable-replication
$(package)_config_opts_mingw32=--enable-mingw
$(package)_config_opts_linux=--with-pic
$(package)_cxxflags=-std=c++11
+$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE
endef
define $(package)_preprocess_cmds