Build RocksDB with support for unicode filenames on Windows

master
John-John Tedro 5 years ago
parent 481f8005d1
commit d7cfbdcb6d
  1. 1
      librocksdb-sys/build.rs

@ -123,6 +123,7 @@ fn build_rocksdb() {
link("rpcrt4", false); link("rpcrt4", false);
link("shlwapi", false); link("shlwapi", false);
config.define("OS_WIN", Some("1")); config.define("OS_WIN", Some("1"));
config.define("ROCKSDB_WINDOWS_UTF8_FILENAMES", Some("1"));
// Remove POSIX-specific sources // Remove POSIX-specific sources
lib_sources = lib_sources lib_sources = lib_sources

Loading…
Cancel
Save