]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't include sys/socket.h on cygwin in windows mode
authorRyan Norton <wxprojects@comcast.net>
Sun, 10 Apr 2005 06:44:50 +0000 (06:44 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 10 Apr 2005 06:44:50 +0000 (06:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sckaddr.h

index b0bc278ffe853e2e37659e129018b6a197d2217b..ab42623cda6bb980d271f0e1e9f16f2a270053c4 100644 (file)
@@ -160,7 +160,7 @@ public:
 
 #endif // wxUSE_IPV6
 
-#if defined(__UNIX__) && !defined(__WINE__) && (!defined(__WXMAC__) || defined(__DARWIN__)) && !defined(__CYGWIN__)
+#if defined(__UNIX__) && !defined(__WINE__) && (!defined(__WXMAC__) || defined(__DARWIN__)) && !defined(__WXMSW__)
 #include <sys/socket.h>
 #ifndef __VMS__
 # include <sys/un.h>