These directives are in files that are compiled only if the
symbols are defined.
* src/gfilenotify.c: Remove unnecessary ‘#ifdef HAVE_GFILENOTIFY’.
* src/inotify.c: Remove unnecessary ‘#ifdef HAVE_INOTIFY’.
* src/kqueue.c: Remove unnecessary ‘#ifdef HAVE_KQUEUE’.
#include <config.h>
-#ifdef HAVE_GFILENOTIFY
#include <stdio.h>
#include <gio/gio.h>
#include "lisp.h"
staticpro (&watch_list);
Fprovide (intern_c_string ("gfilenotify"), Qnil);
-
}
-
-#endif /* HAVE_GFILENOTIFY */
#include <config.h>
-#ifdef HAVE_INOTIFY
-
#include "lisp.h"
#include "coding.h"
#include "process.h"
Fprovide (intern_c_string ("inotify"), Qnil);
}
-
-#endif /* HAVE_INOTIFY */
#include <config.h>
-#ifdef HAVE_KQUEUE
#include <stdio.h>
#include <sys/types.h>
#include <sys/event.h>
Fprovide (intern_c_string ("kqueue"), Qnil);
}
-#endif /* HAVE_KQUEUE */
-
/* PROBLEMS
* https://bugs.launchpad.net/ubuntu/+source/libkqueue/+bug/1514837
prevents tests on Ubuntu. */