summaryrefslogtreecommitdiff
path: root/src/syssignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/syssignal.h')
-rw-r--r--src/syssignal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syssignal.h b/src/syssignal.h
index 171cd24db65..d5af069ae71 100644
--- a/src/syssignal.h
+++ b/src/syssignal.h
@@ -135,8 +135,12 @@ sigset_t sys_sigsetmask (sigset_t new_mask);
#ifdef BSD
#define EMACS_KILLPG(gid, signo) (killpg ( (gid), (signo)))
#else
+#ifdef WINDOWSNT
+#define EMACS_KILLPG(gid, signo) (win32_kill_process (gid, signo))
+#else
#define EMACS_KILLPG(gid, signo) (kill (-(gid), (signo)))
#endif
+#endif
/* Define SIGCHLD as an alias for SIGCLD. There are many conditionals
testing SIGCHLD. */