]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/chkconf.h
Define WXBUILDING in Xcode projects.
[wxWidgets.git] / include / wx / unix / chkconf.h
index f1cff704d9965103fd4282cbc9ee6f01010074a1..50e56d271c0c11e71337ebd2c67130152c1ef636 100644 (file)
 #   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