X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a546027262c3a97792d22108c6f652cf8b4046..6d2190fcb4ba8c0a297a90ac233e88ad0c5cd13f:/src/osx/core/sockosx.cpp diff --git a/src/osx/core/sockosx.cpp b/src/osx/core/sockosx.cpp index 6a5928bbb8..9a540058ce 100644 --- a/src/osx/core/sockosx.cpp +++ b/src/osx/core/sockosx.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: osx/core/gsockosx.cpp +// Name: src/osx/core/gsockosx.cpp // Purpose: wxSocketImpl implementation for OS X // Authors: Brian Victor, Vadim Zeitlin // Created: February 2002 -// RCS-ID: $Id$ // Copyright: (c) 2002 Brian Victor // (c) 2008 Vadim Zeitlin // Licence: wxWindows licence @@ -16,6 +15,7 @@ #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 @@ -140,7 +140,7 @@ private: // KH: If data is non-NULL, the connect failed, do not call Detected_Write, // which will only end up creating a spurious connect event because the // call to getsocketopt SO_ERROR inexplicably returns no error. - // The change in behavior cannot be traced to any particular commit or + // The change in behaviour cannot be traced to any particular commit or // timeframe so I'm not sure what to think, but after so many hours, // this seems to address the issue and it's time to move on. if (data == NULL) @@ -285,4 +285,7 @@ static struct OSXManagerSetter } } gs_OSXManagerSetter; +// see the relative linker macro in socket.cpp +wxFORCE_LINK_THIS_MODULE(osxsocket) + #endif // wxUSE_SOCKETS