X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b4183d82b7b833106edd751632c2f24c9580eb6..cfb50f14ecc87d39319a3f23ddbae938e7858c33:/src/common/protocol.cpp diff --git a/src/common/protocol.cpp b/src/common/protocol.cpp index d0da8f2426..ac5020956f 100644 --- a/src/common/protocol.cpp +++ b/src/common/protocol.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_SOCKETS + #ifndef WX_PRECOMP #include #endif @@ -38,7 +40,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 +139,6 @@ void wxProtocolModule::OnExit() delete wxURL::g_proxy; wxURL::g_proxy = NULL; } + +#endif + // wxUSE_SOCKETS