aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2018-11-26 22:41:03 +0200
committerEli Zaretskii2018-11-26 22:41:03 +0200
commit038b425cf0fe6efea615e01c4828304721b99c75 (patch)
tree70facf235692583752a274c7fe915399e15af752 /lib-src
parented3ae3fc58c12bb413f52026c06320a5fff84084 (diff)
downloademacs-038b425cf0fe6efea615e01c4828304721b99c75.tar.gz
emacs-038b425cf0fe6efea615e01c4828304721b99c75.zip
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.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index e72c5e8cf16..c67d34f77ff 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1995,6 +1995,7 @@ main (int argc, char **argv)
1995 skiplf = str[strlen (str) - 1] == '\n'; 1995 skiplf = str[strlen (str) - 1] == '\n';
1996 exit_status = EXIT_FAILURE; 1996 exit_status = EXIT_FAILURE;
1997 } 1997 }
1998#ifndef WINDOWSNT
1998 else if (strprefix ("-suspend ", p)) 1999 else if (strprefix ("-suspend ", p))
1999 { 2000 {
2000 /* -suspend: Suspend this terminal, i.e., stop the process. */ 2001 /* -suspend: Suspend this terminal, i.e., stop the process. */
@@ -2003,6 +2004,7 @@ main (int argc, char **argv)
2003 skiplf = true; 2004 skiplf = true;
2004 kill (0, SIGSTOP); 2005 kill (0, SIGSTOP);
2005 } 2006 }
2007#endif
2006 else 2008 else
2007 { 2009 {
2008 /* Unknown command. */ 2010 /* Unknown command. */