X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b4183d82b7b833106edd751632c2f24c9580eb6..926076161327c12d8535c72235f91cee6d316281:/src/common/protocol.cpp?ds=sidebyside diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index d0da8f2426..736b38fd13 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -17,12 +17,10 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif -#ifndef WX_PRECOMP -#include -#endif +#if wxUSE_SOCKETS #include "wx/protocol/protocol.h" #include "wx/url.h" @@ -38,7 +36,7 @@ * -------------------------------------------------------------- */ -wxProtoInfo::wxProtoInfo(const char *name, const char *serv, +wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv, const bool need_host1, wxClassInfo *info) { m_protoname = name; @@ -137,3 +135,6 @@ void wxProtocolModule::OnExit() delete wxURL::g_proxy; wxURL::g_proxy = NULL; } + +#endif + // wxUSE_SOCKETS