]> 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 a794bdd42de3fdad4fa4088ef77f764aad0079e7..3f5b54913c1d8cc3bf4580188fb33054b4fd5e68 100644 (file)
@@ -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_