Allow building wxProtocol without wxUSE_SOCKETS

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2002-07-14 20:26:07 +00:00
parent cd6af1cb31
commit a9cb577a6f

View File

@ -66,6 +66,7 @@ wxProtocol::wxProtocol()
{
}
#if wxUSE_SOCKETS
bool wxProtocol::Reconnect()
{
wxIPV4address addr;
@ -167,6 +168,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) {
return wxPROTO_NOERR;
#undef PROTO_BSIZE
}
#endif // wxUSE_SOCKETS
#endif // wxUSE_PROTOCOL