]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix CYGWIN socket compilo
authorRyan Norton <wxprojects@comcast.net>
Tue, 12 Apr 2005 17:16:37 +0000 (17:16 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 12 Apr 2005 17:16:37 +0000 (17:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckipc.cpp

index 5dbcec46cd366800e6210cbd13ec76c69285df69..1fe44c04af628ef1a298becdfb2feda89724dd9c 100644 (file)
@@ -89,7 +89,7 @@ static wxSockAddress *
 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 )