X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9e9fb523fa2b9535b0f30d9678fe4c7fca03953..4979a56c780fceaa115d055d3c09f5980531c5d3:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 79e5ce5d46..1fe44c04af 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -86,10 +86,10 @@ enum // get the address object for the given server name, the caller must delete it static wxSockAddress * -GetAddressFromName(const wxString& serverName, const wxString& host = _T("")) +GetAddressFromName(const wxString& serverName, const wxString& host = wxEmptyString) { // we always use INET sockets under non-Unix systems -#if defined(__UNIX__) && !defined(__WXMAC__) && !defined(__WINE__) +#if defined(__UNIX__) && !defined(__WINDOWS__) && !defined(__WXMAC__) && !defined(__WINE__) // 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 )