We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 405d886 commit 7c04457Copy full SHA for 7c04457
library/std/src/sys/pal/windows/c.rs
@@ -20,9 +20,6 @@ pub use windows_sys::*;
20
pub type DWORD = c_ulong;
21
pub type ULONG = c_ulong;
22
23
-#[cfg(target_vendor = "win7")]
24
-pub type PSRWLOCK = *mut SRWLOCK;
25
-
26
pub type socklen_t = c_int;
27
pub type ADDRESS_FAMILY = c_ushort;
28
pub use FD_SET as fd_set;
library/std/src/sys/sync/mutex/windows7.rs
@@ -25,7 +25,7 @@ unsafe impl Send for Mutex {}
unsafe impl Sync for Mutex {}
#[inline]
-pub unsafe fn raw(m: &Mutex) -> c::PSRWLOCK {
+pub unsafe fn raw(m: &Mutex) -> *mut c::SRWLOCK {
29
m.srwlock.get()
30
}
31
0 commit comments