X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46b1d59d6f69ad80dcf5955375578a6504d100a..ccfc71271d9110a3f9ff68232b0536624efaeccc:/src/unix/appunix.cpp?ds=sidebyside diff --git a/src/unix/appunix.cpp b/src/unix/appunix.cpp index a40991715a..15bff1bd77 100644 --- a/src/unix/appunix.cpp +++ b/src/unix/appunix.cpp @@ -12,6 +12,10 @@ #include "wx/log.h" #include "wx/evtloop.h" +//this code should not be compiled when GUI is defined +//(monolithic build issue) +#if !wxUSE_GUI + #include #include @@ -75,3 +79,5 @@ bool wxAppConsoleUnix::SetSignalHandler(int signal, SignalHandler handler) return true; } + +#endif // !wxUSE_GUI