From d7cfbdcb6d2a338bdf8f6b5ce01deab24c4a314f Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Mon, 22 Jul 2019 23:06:18 +0200 Subject: [PATCH] Build RocksDB with support for unicode filenames on Windows --- librocksdb-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index d8549f3..2170d1b 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -123,6 +123,7 @@ fn build_rocksdb() { link("rpcrt4", false); link("shlwapi", false); config.define("OS_WIN", Some("1")); + config.define("ROCKSDB_WINDOWS_UTF8_FILENAMES", Some("1")); // Remove POSIX-specific sources lib_sources = lib_sources