diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/wine-devel/files/patch-dlls_ws2_32_socket.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c b/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c new file mode 100644 index 000000000000..e31c4bb5649a --- /dev/null +++ b/emulators/wine-devel/files/patch-dlls_ws2_32_socket.c @@ -0,0 +1,13 @@ +diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c +index 0391554..6374ba9 100644 +--- dlls/ws2_32/socket.c ++++ dlls/ws2_32/socket.c +@@ -1473,7 +1473,7 @@ static BOOL is_sockaddr_bound(const struct sockaddr *uaddr, int uaddrlen) + { + static const struct sockaddr_ipx emptyAddr; + struct sockaddr_ipx *ipx = (struct sockaddr_ipx*) uaddr; +- return ipx->sipx_port || ipx->sipx_network || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node)); ++ return ipx->sipx_port || ((union ipx_net_u)ipx->sipx_network).long_e || memcmp(&ipx->sipx_node, &emptyAddr.sipx_node, sizeof(emptyAddr.sipx_node)); + } + #endif + case AF_INET6: |