X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c7f47ddde4d56be33bdba563b28e56edd192af7..51810d4d7e2d0ac1fa1eba43cebff9a4f4a73acc:/include/wx/unix/evtloop.h

diff --git a/include/wx/unix/evtloop.h b/include/wx/unix/evtloop.h
index a794bdd42d..3f5b54913c 100644
--- a/include/wx/unix/evtloop.h
+++ b/include/wx/unix/evtloop.h
@@ -11,6 +11,8 @@
 #ifndef _WX_UNIX_EVTLOOP_H_
 #define _WX_UNIX_EVTLOOP_H_
 
+#if wxUSE_CONSOLE_EVENTLOOP
+
 #include "wx/private/fdiodispatcher.h"
 #include "wx/unix/pipe.h"
 
@@ -67,4 +69,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxConsoleEventLoop)
 };
 
+#endif // wxUSE_CONSOLE_EVENTLOOP
+
 #endif // _WX_UNIX_EVTLOOP_H_