From f01597a43ea2eac38cfbb829f301c2e6e3bcbe83 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 4 Aug 2019 19:38:08 +0300 Subject: [PATCH] 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. --- src/coding.c | 2 ++ src/inotify.c | 3 +++ 2 files changed, 5 insertions(+) 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 */ -- 2.39.2