We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3205de commit d89bce6Copy full SHA for d89bce6
std/src/sys/pal/windows/c.rs
@@ -21,9 +21,6 @@ pub type DWORD = c_ulong;
21
pub type WCHAR = u16;
22
pub type ULONG = c_ulong;
23
24
-#[cfg(target_vendor = "win7")]
25
-pub type PSRWLOCK = *mut SRWLOCK;
26
-
27
pub type socklen_t = c_int;
28
pub type ADDRESS_FAMILY = c_ushort;
29
pub use FD_SET as fd_set;
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 {
m.srwlock.get()
30
}
31
0 commit comments