summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'attr.c')
-rw-r--r--attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 994a2f2..1f3f996 100644
--- a/attr.c
+++ b/attr.c
@@ -102,7 +102,7 @@ pthread_attr_init(pthread_attr_t *attr)
#endif
attr->detachedstate = PTHREAD_CREATE_JOINABLE;
-#ifdef HAVE_SIGSET_T
+#if HAVE_SIGSET_T
memset(&(attr->sigmask), 0, sizeof(sigset_t));
#endif /* HAVE_SIGSET_T */