aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/sigcompat.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2023-01-28 00:33:01 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2023-01-28 00:33:01 +0000
commit4fde40d9b540ea1a544cb4378a14f2f6da85ca6d (patch)
tree5847a5d91a2e3435aa75879041548a9ad9860316 /contrib/bmake/sigcompat.c
parent52f9a2823c64650c773dadf2d47c451e985f8389 (diff)
parent2e36ab236364fa38c564f586c46cb9182ce8fd14 (diff)
downloadsrc-4fde40d9b540ea1a544cb4378a14f2f6da85ca6d.tar.gz
src-4fde40d9b540ea1a544cb4378a14f2f6da85ca6d.zip
Merge/update to bmake-20230126
Diffstat (limited to 'contrib/bmake/sigcompat.c')
-rw-r--r--contrib/bmake/sigcompat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bmake/sigcompat.c b/contrib/bmake/sigcompat.c
index 608538d77d0f..c720eeba92e5 100644
--- a/contrib/bmake/sigcompat.c
+++ b/contrib/bmake/sigcompat.c
@@ -104,7 +104,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)sigcompat.c 5.3 (Berkeley) 2/24/91";*/
-static char *rcsid = "$Id: sigcompat.c,v 1.23 2011/02/14 00:07:11 sjg Exp $";
+static char *rcsid = "$Id: sigcompat.c,v 1.24 2022/09/26 17:38:10 sjg Exp $";
#endif /* LIBC_SCCS and not lint */
#undef signal
@@ -204,7 +204,7 @@ SIG_HDLR(*signal(int sig, SIG_HDLR(*handler)(int)))(int)
#ifdef SIGSET_T_INT
# define ss2m(ss) (MASK_T) *(ss)
# define m2ss(ss, m) *ss = (sigset_t) *(m)
-#else
+#elif !defined(HAVE_SIGSETMASK) || defined(FORCE_POSIX_SIGNALS)
static MASK_T
ss2m(sigset_t *ss)
{