X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2b355240765c641b9764728a982c6b90b9cc747..159960c0e711edd4b2fbba4b9e41e81333868d62:/src/common/protocol.cpp?ds=sidebyside diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 2203ac231f..9deef928f6 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_PROTOCOL + #include "wx/protocol/protocol.h" #include "wx/url.h" #include "wx/module.h" @@ -64,7 +66,6 @@ wxProtocol::wxProtocol() { } -#if wxUSE_SOCKETS bool wxProtocol::Reconnect() { wxIPV4address addr; @@ -166,4 +167,6 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) { return wxPROTO_NOERR; #undef PROTO_BSIZE } -#endif + +#endif // wxUSE_PROTOCOL +