Skip to content

Commit

Permalink
🐛 Fix compilation errors on windows gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeyish committed Sep 26, 2024
1 parent e2ff79a commit c9057a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn setup_udp_socket(
}

// set UDP_CONNRESET off to ignore UdpSocket's WSAECONNRESET error
#[cfg(target_os = "windows")]
#[cfg(all(target_os = "windows", target_env = "msvc"))]
{
// https://github.com/mokeyish/smartdns-rs/issues/391
// https://github.com/shadowsocks/shadowsocks-rust/blob/3b47fa67fac6c2bded73616a284f26c6159cbe9a/src/relay/sys/windows/mod.rs#L17
Expand Down

0 comments on commit c9057a2

Please sign in to comment.