X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b61b058123378e0e132f7f75f53f042d96eca0..527983315d19b2fa3f7228ce1a82c1c852fba1c1:/src/common/socketiohandler.cpp diff --git a/src/common/socketiohandler.cpp b/src/common/socketiohandler.cpp index 89f8edafee..3b1504a329 100644 --- a/src/common/socketiohandler.cpp +++ b/src/common/socketiohandler.cpp @@ -20,10 +20,15 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + #if wxUSE_SOCKETS && wxUSE_SELECT_DISPATCHER #include "wx/apptrait.h" #include "wx/private/socket.h" +#include "wx/link.h" // ============================================================================ // implementation @@ -111,4 +116,8 @@ static struct ManagerSetter } } gs_managerSetter; + +// see the relative linker macro in socket.cpp +wxFORCE_LINK_THIS_MODULE( socketiohandler ); + #endif // wxUSE_SOCKETS