X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d670c2cc7d8f2a53564a714fd1265ad06867c99..66f2aa61c3c7bc326f3287739eded70ca61f775d:/include/wx/evtloop.h?ds=sidebyside diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 04f0a97761..af4f7baf99 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -17,7 +17,7 @@ // TODO: implement wxEventLoopSource for MSW (it should wrap a HANDLE and be // monitored using MsgWaitForMultipleObjects()) -#if defined(__WXOSX__) || defined(__UNIX__) +#if defined(__WXOSX__) || (defined(__UNIX__) && !defined(__CYGWIN__)) #define wxUSE_EVENTLOOP_SOURCE 1 #else #define wxUSE_EVENTLOOP_SOURCE 0 @@ -310,7 +310,7 @@ protected: #endif // wxUSE_GUI // include the header defining wxConsoleEventLoop for Unix systems -#if defined(__UNIX__) +#if defined(__UNIX__) && !defined(__CYGWIN__) #include "wx/unix/evtloop.h" #endif