This commit is contained in:
Geoffry Song 2024-08-21 15:34:51 -07:00 committed by GitHub
parent d7b2fd4213
commit 40481fc70a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,16 +112,9 @@ pub struct MOUNT_POINT_REPARSE_BUFFER {
#[cfg(not(target_vendor = "win7"))] #[cfg(not(target_vendor = "win7"))]
#[cfg_attr( #[cfg_attr(
target_arch = "x86", target_arch = "x86",
link( link(name = "bcryptprimitives", kind = "raw-dylib", import_name_type = "undecorated")
name = "bcryptprimitives",
kind = "raw-dylib",
import_name_type = "undecorated"
)
)]
#[cfg_attr(
not(target_arch = "x86"),
link(name = "bcryptprimitives", kind = "raw-dylib")
)] )]
#[cfg_attr(not(target_arch = "x86"), link(name = "bcryptprimitives", kind = "raw-dylib"))]
extern "system" { extern "system" {
pub fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL; pub fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL;
} }