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:
@@ -66,6 +66,7 @@ wxProtocol::wxProtocol()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_SOCKETS
|
||||||
bool wxProtocol::Reconnect()
|
bool wxProtocol::Reconnect()
|
||||||
{
|
{
|
||||||
wxIPV4address addr;
|
wxIPV4address addr;
|
||||||
@@ -167,6 +168,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) {
|
|||||||
return wxPROTO_NOERR;
|
return wxPROTO_NOERR;
|
||||||
#undef PROTO_BSIZE
|
#undef PROTO_BSIZE
|
||||||
}
|
}
|
||||||
|
#endif // wxUSE_SOCKETS
|
||||||
|
|
||||||
#endif // wxUSE_PROTOCOL
|
#endif // wxUSE_PROTOCOL
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user