Skip to content

Commit d71d0d7

Browse files
author
MarcoFalke
committed
Merge #13884: depends: Enable bdb unicode support for Windows
5bb0164 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
2 parents 1d73636 + 5bb0164 commit d71d0d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/packages/bdb.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ $(package)_config_opts=--disable-shared --enable-cxx --disable-replication
1010
$(package)_config_opts_mingw32=--enable-mingw
1111
$(package)_config_opts_linux=--with-pic
1212
$(package)_cxxflags=-std=c++11
13+
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE
1314
endef
1415

1516
define $(package)_preprocess_cmds

0 commit comments

Comments
 (0)