git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15424
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
};
#endif
-#if defined(__UNIX__) && !defined(__WXMAC__)
+#if defined(__UNIX__) && (!defined(__WXMAC__) || defined(__DARWIN__))
#include <sys/socket.h>
#ifndef __VMS__
# include <sys/un.h>
#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