]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/evtloop.h
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / include / wx / unix / evtloop.h
index 32fbfffdddb984a057b04aa753a237bdc3636633..3f5b54913c1d8cc3bf4580188fb33054b4fd5e68 100644 (file)
@@ -11,8 +11,9 @@
 #ifndef _WX_UNIX_EVTLOOP_H_
 #define _WX_UNIX_EVTLOOP_H_
 
+#if wxUSE_CONSOLE_EVENTLOOP
+
 #include "wx/private/fdiodispatcher.h"
-#include "wx/unix/private/timer.h"
 #include "wx/unix/pipe.h"
 
 // ----------------------------------------------------------------------------
@@ -68,4 +69,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxConsoleEventLoop)
 };
 
+#endif // wxUSE_CONSOLE_EVENTLOOP
+
 #endif // _WX_UNIX_EVTLOOP_H_