X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0d0845c205a59cb0d8c73c0e4bcc84a9d6c550..baaae89f09ece7ab8a17570ee535683b9d14aeda:/src/common/sckaddr.cpp?ds=sidebyside diff --git a/src/common/sckaddr.cpp b/src/common/sckaddr.cpp index 1cfa463c86..ff8739c79d 100644 --- a/src/common/sckaddr.cpp +++ b/src/common/sckaddr.cpp @@ -46,7 +46,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxIPV4address, wxSockAddress) #ifdef ENABLE_IPV6 IMPLEMENT_DYNAMIC_CLASS(wxIPV6address, wxSockAddress) #endif -#if defined(__UNIX__) && !defined(__WXMAC__) +#if defined(__UNIX__) && (!defined(__WXMAC__) || defined(__DARWIN__)) IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress) #endif @@ -71,6 +71,7 @@ wxSockAddress::wxSockAddress() } wxSockAddress::wxSockAddress(const wxSockAddress& other) + : wxObject() { Init(); @@ -236,7 +237,7 @@ unsigned short wxIPV6address::Service() #endif // 0 -#if defined(__UNIX__) && !defined(__WXMAC__) +#if defined(__UNIX__) && (!defined(__WXMAC__) || defined(__DARWIN__)) // --------------------------------------------------------------------------- // wxUNIXaddress