From 7a59be6d9737c850dcb4ab077e1a0e8462a6b690 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 17 Jan 2006 18:10:17 +0000 Subject: [PATCH] Applied patch [ 1401000 ] Fixes Unix domain sockets under darwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sckipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 97374a402a..9a9b4c62b8 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -85,7 +85,7 @@ static wxSockAddress * GetAddressFromName(const wxString& serverName, const wxString& host = wxEmptyString) { // we always use INET sockets under non-Unix systems -#if defined(__UNIX__) && !defined(__WINDOWS__) && !defined(__WXMAC__) && !defined(__WINE__) +#if defined(__UNIX__) && !defined(__WINDOWS__) && !defined(__WINE__) && (!defined(__WXMAC__) || defined(__DARWIN__)) // under Unix, if the server name looks like a path, create a AF_UNIX // socket instead of AF_INET one if ( serverName.Find(_T('/')) != wxNOT_FOUND )