X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2b355240765c641b9764728a982c6b90b9cc747..19f45995fb86029cb9800bdce8f0cc677c816283:/src/common/protocol.cpp 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 +