X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5d46b7362198fd94a5fd3b751df86287f2187bc..b8ddac49a37a01ca1cf89f97dc97c4945b50ddab:/src/common/protocol.cpp diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 9deef928f6..213de7ce97 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -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