#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
}
wxSockAddress::wxSockAddress(const wxSockAddress& other)
+ : wxObject()
{
Init();
#endif // 0
-#if defined(__UNIX__) && !defined(__WXMAC__)
+#if defined(__UNIX__) && (!defined(__WXMAC__) || defined(__DARWIN__))
// ---------------------------------------------------------------------------
// wxUNIXaddress