diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2017-07-24 00:52:52 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2017-07-24 00:52:52 +0000 |
| commit | 56028c60f45b9c206f7a9b968fa2bd0af5619581 (patch) | |
| tree | 8ed88420a9b8a126de1a4b62e47f1a2b20bb1cc4 /make.h | |
| parent | 7ef48313e3a45ae781c4749db7eb4938f54da8cd (diff) | |
Import bmake-20170720vendor/NetBSD/bmake/20170720
compat.c: pass SIGINT etc onto child and wait for it to exit
before we self-terminate.
Diffstat (limited to 'make.h')
| -rw-r--r-- | make.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $NetBSD: make.h,v 1.102 2016/12/07 15:00:46 christos Exp $ */ +/* $NetBSD: make.h,v 1.103 2017/07/20 19:29:54 sjg Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -543,4 +543,10 @@ int cached_stat(const char *, void *); #define PATH_MAX MAXPATHLEN #endif +#if defined(SYSV) +#define KILLPG(pid, sig) kill(-(pid), (sig)) +#else +#define KILLPG(pid, sig) killpg((pid), (sig)) +#endif + #endif /* _MAKE_H_ */ |
