From 567e22fe20c050f4ebfcfed0bbbff8757b8ded47 Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 3 Oct 1998 02:33:24 +0000 Subject: 1998-10-03 Ben Elliston * 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. --- pthread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pthread.h') 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. */ -- cgit v1.2.3