X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..75d9e502238df95fa53c0030b1fac0d4f43e4025:/src/unix/evtloopunix.cpp diff --git a/src/unix/evtloopunix.cpp b/src/unix/evtloopunix.cpp index 1aadf8f498..d9e4100457 100644 --- a/src/unix/evtloopunix.cpp +++ b/src/unix/evtloopunix.cpp @@ -35,6 +35,10 @@ #define TRACE_EVENTS _T("events") +//this code should not be compiled when GUI is defined +//(monolithic build issue) +#if !wxUSE_GUI + // =========================================================================== // wxEventLoop::PipeIOHandler implementation // =========================================================================== @@ -190,3 +194,4 @@ void wxConsoleEventLoop::OnNextIteration() wxTheApp->CheckSignal(); } +#endif // !wxUSE_GUI