X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b4183d82b7b833106edd751632c2f24c9580eb6..fd15d8f1b0b437312a117b7e4509708a22e30806:/src/common/protocol.cpp 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