X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5508feb8f77768db2cbab92f9c329e6f7db5827a..e10972f6c1436a6dcd5427b4e3913bb0f398e045:/include/wx/unix/chkconf.h diff --git a/include/wx/unix/chkconf.h b/include/wx/unix/chkconf.h index f1cff704d9..50e56d271c 100644 --- a/include/wx/unix/chkconf.h +++ b/include/wx/unix/chkconf.h @@ -21,6 +21,17 @@ # endif #endif /* wxUSE_CONSOLE_EVENTLOOP */ +#if wxUSE_FSWATCHER +# if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE) +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxFileSystemWatcher requires either inotify() or kqueue()" +# else +# undef wxUSE_FSWATCHER +# define wxUSE_FSWATCHER 0 +# endif +# endif +#endif /* wxUSE_FSWATCHER */ + #if wxUSE_GSTREAMER # if !wxUSE_THREADS # ifdef wxABORT_ON_CONFIG_ERROR