summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorbje <bje>1998-10-03 02:33:24 +0000
committerbje <bje>1998-10-03 02:33:24 +0000
commit567e22fe20c050f4ebfcfed0bbbff8757b8ded47 (patch)
treeb4d1fa12faaf7dc7a3244da24c3f01df9737018f /pthread.h
parentce8809431aff8535cf7872618e1de582cd37c0d0 (diff)
1998-10-03 Ben Elliston <bje@cygnus.com>
* attr.c (pthread_attr_init): Only zero out the `sigmask' member if we have the sigset_t type. * pthread.h (pthread_sigmask): Only provide if we have the sigset_t type.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index b657ed5..d3fdb8a 100644
--- a/pthread.h
+++ b/pthread.h
@@ -261,9 +261,11 @@ int pthread_key_delete(pthread_key_t key);
/* Signal handling. */
+#if HAVE_SIGSET_T
int pthread_sigmask(int how,
const sigset_t *set,
sigset_t *oset);
+#endif /* HAVE_SIGSET_T */
/* Thread cancelation functions. */