From: Ryan Norton Date: Tue, 12 Apr 2005 17:52:01 +0000 (+0000) Subject: Fix CYGWIN socket compilo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ae3036a289d9dbf1a375958c88e2908dea55953b Fix CYGWIN socket compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 1355d5ee28..dddd390ab5 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -580,10 +580,10 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object) #if wxUSE_SOCKETS -#if defined(__UNIX__) || defined(__DARWIN__) || defined(__OS2__) - #include "wx/unix/gsockunx.h" -#elif defined(__WINDOWS__) +#if defined(__WINDOWS__) #include "wx/msw/gsockmsw.h" +#elif defined(__UNIX__) || defined(__DARWIN__) || defined(__OS2__) + #include "wx/unix/gsockunx.h" #elif defined(__WXMAC__) #include #define OTUNIXERRORS 1