fix(SocketImpl): Windows: use pragma to link mswsock.lib

This commit is contained in:
Matej Kenda 2023-12-12 11:10:20 +01:00 committed by Matej Kenda
parent 54f0feb282
commit 12a99dcd18

View File

@ -599,4 +599,8 @@ inline bool SocketImpl::getBlocking() const
} } // namespace Poco::Net
#if defined(POCO_OS_FAMILY_WINDOWS)
#pragma comment(lib, "mswsock.lib")
#endif
#endif // Net_SocketImpl_INCLUDED