aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorMichael Albinus2015-11-09 10:00:56 +0100
committerMichael Albinus2015-11-25 15:07:10 +0100
commite3354e2265bc442e4c7b84b806be482db88581a2 (patch)
tree21c79b24540c150ada3fe3b7c7941985327cc16f /src/lisp.h
parentc6457cef92342d586d894504fdefc1bec1367725 (diff)
downloademacs-e3354e2265bc442e4c7b84b806be482db88581a2.tar.gz
emacs-e3354e2265bc442e4c7b84b806be482db88581a2.zip
Add kqueue support
* configure.ac (--with-file-notification): Add kqueue. (top): Remove special test for "${HAVE_NS}" and ${with_file_notification}, this is handled inside gfilenotify tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS instead of library specific variables. * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS. * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue. * src/kqueue.c: New file. * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 3efa492e0e8..426b6c949e9 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -4257,17 +4257,23 @@ extern void init_font (void);
4257extern void syms_of_fontset (void); 4257extern void syms_of_fontset (void);
4258#endif 4258#endif
4259 4259
4260/* Defined in inotify.c */
4261#ifdef HAVE_INOTIFY
4262extern void syms_of_inotify (void);
4263#endif
4264
4265/* Defined in kqueue.c */
4266#ifdef HAVE_KQUEUE
4267extern void globals_of_kqueue (void);
4268extern void syms_of_kqueue (void);
4269#endif
4270
4260/* Defined in gfilenotify.c */ 4271/* Defined in gfilenotify.c */
4261#ifdef HAVE_GFILENOTIFY 4272#ifdef HAVE_GFILENOTIFY
4262extern void globals_of_gfilenotify (void); 4273extern void globals_of_gfilenotify (void);
4263extern void syms_of_gfilenotify (void); 4274extern void syms_of_gfilenotify (void);
4264#endif 4275#endif
4265 4276
4266/* Defined in inotify.c */
4267#ifdef HAVE_INOTIFY
4268extern void syms_of_inotify (void);
4269#endif
4270
4271#ifdef HAVE_W32NOTIFY 4277#ifdef HAVE_W32NOTIFY
4272/* Defined on w32notify.c. */ 4278/* Defined on w32notify.c. */
4273extern void syms_of_w32notify (void); 4279extern void syms_of_w32notify (void);