Fix systest against vcpkg-sourced OpenSSL

This commit is contained in:
Steven Fackler 2018-03-31 10:42:25 +02:00
parent 5c317d5a35
commit 111131e3e4
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ fn main() {
if target.contains("msvc") { if target.contains("msvc") {
cfg.flag("/wd4090"); cfg.flag("/wd4090");
} }
// https://github.com/sfackler/rust-openssl/issues/889
cfg.define("WIN32_LEAN_AND_MEAN", None);
} }
if let Ok(_) = env::var("DEP_OPENSSL_LIBRESSL") { if let Ok(_) = env::var("DEP_OPENSSL_LIBRESSL") {