projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3ae3f
)
Unbreak compilation of emacsclient on MS-Windows
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 26 Nov 2018 20:41:03 +0000
(22:41 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 26 Nov 2018 20:41:03 +0000
(22:41 +0200)
* lib-src/emacsclient.c (main): Make "-suspend" handling
conditional on !WINDOWSNT, as there's no SIGSTOP nor 'kill'
there.
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index e72c5e8cf16ebd3e6f5fbd670d2f3e95a2f9d700..c67d34f77ff0461e42a54e66833279f90a181c3d 100644
(file)
--- 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. */