diff --git a/systest/build.rs b/systest/build.rs index af74ce2b5a802ac6d9996e8990ecbf10106ab78d..98e9ffb33ce4aa7edf75ba979ab015e30eb3fe8a 100644 --- a/systest/build.rs +++ b/systest/build.rs @@ -21,6 +21,9 @@ fn main() { if target.contains("msvc") { 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") {