Link with ws2_32.lib rather than obsolete wsock32.lib
Winsock 2 provided by ws2_32.lib is available since 1994, it should be fine to use it even for wx in 2021. See #15562.
This commit is contained in:
@@ -181,7 +181,7 @@
|
||||
|
||||
#if !defined(WXUSINGDLL)
|
||||
#if !defined(wxNO_NET_LIB)
|
||||
#pragma comment(lib, "wsock32")
|
||||
#pragma comment(lib, "ws2_32")
|
||||
#endif
|
||||
|
||||
#if wxUSE_XML && !defined(wxNO_XML_LIB) && !defined(wxNO_EXPAT_LIB)
|
||||
|
Reference in New Issue
Block a user