#ifdef ENABLE_IPV6
IMPLEMENT_DYNAMIC_CLASS(wxIPV6address, wxSockAddress)
#endif
-#ifdef __UNIX__
+#if defined(__UNIX__) && !defined(__WXMAC__)
IMPLEMENT_DYNAMIC_CLASS(wxUNIXaddress, wxSockAddress)
#endif
#endif
-#ifdef __UNIX__
+#if defined(__UNIX__) && !defined(__WXMAC__)
// ---------------------------------------------------------------------------
// wxUNIXaddress
// ---------------------------------------------------------------------------