From: Eli Zaretskii Date: Sun, 4 Aug 2019 16:38:08 +0000 (+0300) Subject: Fix the MS-Windows build broken by recent changes X-Git-Tag: emacs-27.0.90~1707 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f01597a43ea2eac38cfbb829f301c2e6e3bcbe83;p=emacs.git Fix the MS-Windows build broken by recent changes * src/inotify.c (syms_of_inotify) : Don't define here... * src/coding.c (syms_of_coding) : ...define it here, because it is needed also on platforms that don't compile inotify.c. --- diff --git a/src/coding.c b/src/coding.c index 877177b1882..2ddd34eb7b6 100644 --- a/src/coding.c +++ b/src/coding.c @@ -11684,6 +11684,8 @@ syms_of_coding (void) symbol as a coding system. */ DEFSYM (Qcoding_system_define_form, "coding-system-define-form"); + DEFSYM (Qignored, "ignored"); + defsubr (&Scoding_system_p); defsubr (&Sread_coding_system); defsubr (&Sread_non_nil_coding_system); diff --git a/src/inotify.c b/src/inotify.c index e8891aefc7a..7c1d699ce32 100644 --- a/src/inotify.c +++ b/src/inotify.c @@ -530,7 +530,10 @@ syms_of_inotify (void) DEFSYM (Qdont_follow, "dont-follow"); /* IN_DONT_FOLLOW */ DEFSYM (Qonlydir, "onlydir"); /* IN_ONLYDIR */ +#if 0 + /* Defined in coding.c, which uses it on all platforms. */ DEFSYM (Qignored, "ignored"); /* IN_IGNORED */ +#endif DEFSYM (Qisdir, "isdir"); /* IN_ISDIR */ DEFSYM (Qq_overflow, "q-overflow"); /* IN_Q_OVERFLOW */ DEFSYM (Qunmount, "unmount"); /* IN_UNMOUNT */