Skip to content

Commit

Permalink
windows has no sa_family_t, use ADDRESS_FAMILY
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Dec 1, 2023
1 parent ad41977 commit 5916b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ mod windows {
pub iov_base: *mut libc::c_void,
pub iov_len: libc::size_t,
}
pub type sa_family_t = windows_sys::Win32::Networking::WinSock::sa_family_t;
pub type sa_family_t = windows_sys::Win32::Networking::WinSock::ADDRESS_FAMILY;
pub type sockaddr = windows_sys::Win32::Networking::WinSock::SOCKADDR;
pub type sockaddr_in = windows_sys::Win32::Networking::WinSock::SOCKADDR_IN;
pub type sockaddr_in6 = windows_sys::Win32::Networking::WinSock::SOCKADDR_IN6;
Expand Down

0 comments on commit 5916b7c

Please sign in to comment.