Fix stupid logic typo, that prevented monitoring from working.
This commit is contained in:
parent
42f0630198
commit
4ba6f1fa27
@ -3,7 +3,7 @@ int monitor_insert_directory(int fd, char *name, const char * path);
|
||||
int monitor_remove_file(const char * path);
|
||||
int monitor_remove_directory(int fd, const char * path);
|
||||
|
||||
#if defined(HAVE_INOTIFY) && defined(HAVE_KQUEUE)
|
||||
#if defined(HAVE_INOTIFY) || defined(HAVE_KQUEUE)
|
||||
#define HAVE_WATCH 1
|
||||
int add_watch(int, const char *);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user