emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f01597a: Fix the MS-Windows build broken by recent


From: Eli Zaretskii
Subject: [Emacs-diffs] master f01597a: Fix the MS-Windows build broken by recent changes
Date: Sun, 4 Aug 2019 12:39:15 -0400 (EDT)

branch: master
commit f01597a43ea2eac38cfbb829f301c2e6e3bcbe83
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix the MS-Windows build broken by recent changes
    
    * 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  | 2 ++
 src/inotify.c | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/src/coding.c b/src/coding.c
index 877177b..2ddd34e 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 e8891ae..7c1d699 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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]