summaryrefslogtreecommitdiffstats
path: root/newlib/libc/unix/sigset.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/unix/sigset.c')
-rw-r--r--newlib/libc/unix/sigset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/unix/sigset.c b/newlib/libc/unix/sigset.c
index ecb3d0800..cd73a78c8 100644
--- a/newlib/libc/unix/sigset.c
+++ b/newlib/libc/unix/sigset.c
@@ -1,7 +1,7 @@
#include <signal.h>
#include <errno.h>
-#ifdef SIG_SETMASK /* easier than trying to remove from Makefile */
+#if defined(SIG_SETMASK) && NSIG <= 32 /* easier than trying to remove from Makefile */
#undef sigemptyset
int