]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/sockosx.cpp
set default resolutions in case of errors
[wxWidgets.git] / src / osx / core / sockosx.cpp
index 6a5928bbb876114fd3f4d5959068f712da91e8cd..08711a0980d0fe1f6d5885d0bc47a7baa3904927 100644 (file)
@@ -16,6 +16,7 @@
 #include "wx/private/socket.h"
 #include "wx/unix/private/sockunix.h"
 #include "wx/apptrait.h"
 #include "wx/private/socket.h"
 #include "wx/unix/private/sockunix.h"
 #include "wx/apptrait.h"
+#include "wx/link.h"
 
 #include "wx/osx/core/cfstring.h"           // for wxMacWakeUp() only
 
 
 #include "wx/osx/core/cfstring.h"           // for wxMacWakeUp() only
 
@@ -285,4 +286,7 @@ static struct OSXManagerSetter
     }
 } gs_OSXManagerSetter;
 
     }
 } gs_OSXManagerSetter;
 
+// see the relative linker macro in socket.cpp
+wxFORCE_LINK_THIS_MODULE(osxsocket)
+
 #endif // wxUSE_SOCKETS
 #endif // wxUSE_SOCKETS