aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/sigset.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/sigset.c')
-rw-r--r--sysdeps/posix/sigset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/sigset.c b/sysdeps/posix/sigset.c
index 1a6b1a4fd3..52da0f3060 100644
--- a/sysdeps/posix/sigset.c
+++ b/sysdeps/posix/sigset.c
@@ -30,6 +30,7 @@ sigset (sig, disp)
{
struct sigaction act, oact;
+#ifdef SIG_HOLD
/* Handle SIG_HOLD first. */
if (disp == SIG_HOLD)
{
@@ -49,6 +50,7 @@ sigset (sig, disp)
return SIG_HOLD;
}
+#endif /* SIG_HOLD */
/* Check signal extents to protect __sigismember. */
if (disp == SIG_ERR || sig < 1 || sig >= NSIG)