X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5508feb8f77768db2cbab92f9c329e6f7db5827a..033f86db5f422700eda6284ab338e84168bbba44:/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