X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d670c2cc7d8f2a53564a714fd1265ad06867c99..6eefca4fb7793a8d6bc02e69694735cb3e5fc230:/include/wx/evtloop.h 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