@@ -112,16 +112,9 @@ if #[cfg(not(target_vendor = "uwp"))] { |
|
|
112 |
112 |
#[cfg(not(target_vendor = "win7"))] |
113 |
113 |
#[cfg_attr( |
114 |
114 |
target_arch = "x86", |
115 |
|
- link( |
116 |
|
- name = "bcryptprimitives", |
117 |
|
- kind = "raw-dylib", |
118 |
|
- import_name_type = "undecorated" |
119 |
|
- ) |
120 |
|
-)] |
121 |
|
-#[cfg_attr( |
122 |
|
- not(target_arch = "x86"), |
123 |
|
- link(name = "bcryptprimitives", kind = "raw-dylib") |
|
115 |
+ link(name = "bcryptprimitives", kind = "raw-dylib", import_name_type = "undecorated") |
124 |
116 |
)] |
|
117 |
+#[cfg_attr(not(target_arch = "x86"), link(name = "bcryptprimitives", kind = "raw-dylib"))] |
125 |
118 |
extern "system" { |
126 |
119 |
pub fn ProcessPrng(pbdata: *mut u8, cbdata: usize) -> BOOL; |
127 |
120 |
} |