]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the MS-Windows build broken by recent changes
authorEli Zaretskii <eliz@gnu.org>
Sun, 4 Aug 2019 16:38:08 +0000 (19:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 4 Aug 2019 16:38:08 +0000 (19:38 +0300)
* src/inotify.c (syms_of_inotify) <Qignored>: Don't define here...
* src/coding.c (syms_of_coding) <Qignored>: ...define it here,
because it is needed also on platforms that don't compile
inotify.c.

src/coding.c
src/inotify.c

index 877177b188286045f31caef9301b8e733296c74e..2ddd34eb7b6d7d818f4c10ce54058c02933321fb 100644 (file)
@@ -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);
index e8891aefc7a4862a98fbbc7728f692cea31325d8..7c1d699ce32b926ebf242fbaea9da5c52be7e163 100644 (file)
@@ -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 */