mirror of
https://gitlab.com/marcandre.lureau/qemu-display.git
synced 2024-12-22 05:35:20 +00:00
qemu-display: update windows deps
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
12d7cd59c3
commit
f33c9c4659
@ -31,8 +31,8 @@ qapi = { version = "0.9.0", features = ["qmp"], optional = true }
|
||||
base64 = { version = "0.13", optional = true }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
uds_windows = "1.0.1"
|
||||
windows = { version = "0.39.0", features = ["Win32_Networking_WinSock", "Win32_Foundation", "Win32_System_IO", "Win32_System_Threading"] }
|
||||
uds_windows = "1.0.2"
|
||||
windows = { version = "0.43.0", features = ["Win32_Networking_WinSock", "Win32_Foundation", "Win32_System_IO", "Win32_System_Threading"] }
|
||||
|
||||
[target.'cfg(windows)'.dev-dependencies]
|
||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||
|
@ -98,12 +98,12 @@ pub(crate) fn unix_stream_get_peer_pid(stream: &UnixStream) -> Result<u32, std::
|
||||
WSAIoctl(
|
||||
SOCKET(socket as _),
|
||||
SIO_AF_UNIX_GETPEERPID,
|
||||
0 as *mut _,
|
||||
None,
|
||||
0,
|
||||
&mut ret as *mut _ as *mut _,
|
||||
Some(&mut ret as *mut _ as *mut _),
|
||||
std::mem::size_of_val(&ret) as u32,
|
||||
&mut bytes,
|
||||
0 as *mut _,
|
||||
None,
|
||||
None,
|
||||
)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user