Use the proper import library names

This commit is contained in:
Chris Denton
2021-05-06 04:04:19 +01:00
parent 25712afd94
commit fc40aa059b
2 changed files with 169 additions and 170 deletions

View File

@@ -281,17 +281,3 @@ pub fn abort_internal() -> ! {
}
crate::intrinsics::abort();
}
cfg_if::cfg_if! {
if #[cfg(target_vendor = "uwp")] {
#[link(name = "ws2_32")]
// For BCryptGenRandom
#[link(name = "bcrypt")]
extern "C" {}
} else {
#[link(name = "advapi32")]
#[link(name = "ws2_32")]
#[link(name = "userenv")]
extern "C" {}
}
}