X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54e757fc96db59e27c006052a665a9f7cff6b53f..94929e7b60de96bd3b064984ae8995d665329411:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index ede71ebcf1..aba83174a4 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -1990,9 +1990,11 @@ private: IMPLEMENT_DYNAMIC_CLASS(wxSocketModule, wxModule) +#if defined(wxUSE_SELECT_DISPATCHER) && wxUSE_SELECT_DISPATCHER // NOTE: we need to force linking against socketiohandler.cpp otherwise in // static builds of wxWidgets the ManagerSetter::ManagerSetter ctor // contained there wouldn't be ever called wxFORCE_LINK_MODULE( socketiohandler ) +#endif #endif // wxUSE_SOCKETS