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.
This commit is contained in:
parent
ed3ae3fc58
commit
038b425cf0
1 changed files with 2 additions and 0 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Reference in a new issue