emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 038b425: Unbreak compilation of emacsclient on MS-W


From: Eli Zaretskii
Subject: [Emacs-diffs] master 038b425: Unbreak compilation of emacsclient on MS-Windows
Date: Mon, 26 Nov 2018 15:42:23 -0500 (EST)

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

    Unbreak compilation of emacsclient on MS-Windows
    
    * lib-src/emacsclient.c (main): Make "-suspend" handling
    conditional on !WINDOWSNT, as there's no SIGSTOP nor 'kill'
    there.
---
 lib-src/emacsclient.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index e72c5e8..c67d34f 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1995,6 +1995,7 @@ main (int argc, char **argv)
                skiplf = str[strlen (str) - 1] == '\n';
               exit_status = EXIT_FAILURE;
             }
+#ifndef WINDOWSNT
          else if (strprefix ("-suspend ", p))
            {
              /* -suspend: Suspend this terminal, i.e., stop the process. */
@@ -2003,6 +2004,7 @@ main (int argc, char **argv)
              skiplf = true;
              kill (0, SIGSTOP);
            }
+#endif
          else
            {
              /* Unknown command. */



reply via email to

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