From a9cb577a6f19ea0d3bf0d59c988df9e002b29110 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 14 Jul 2002 20:26:07 +0000 Subject: [PATCH] Allow building wxProtocol without wxUSE_SOCKETS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/protocol.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2