X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2b355240765c641b9764728a982c6b90b9cc747..a4353f07c6b37712634d4b2d86527b647a08044f:/src/common/protocol.cpp diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index 2203ac231f..213de7ce97 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" @@ -166,4 +168,7 @@ wxProtocolError GetLine(wxSocketBase *sock, wxString& result) { return wxPROTO_NOERR; #undef PROTO_BSIZE } -#endif +#endif // wxUSE_SOCKETS + +#endif // wxUSE_PROTOCOL +