diff options
author | bje <bje> | 1998-09-12 07:59:34 +0000 |
---|---|---|
committer | bje <bje> | 1998-09-12 07:59:34 +0000 |
commit | b63e40988fde13ccd11dea845bd9008c56b21cdb (patch) | |
tree | e2db70ba088ec35c71c59781551775c4847ac0f0 /signal.c | |
parent | bebf4fe4f6ae3d8296a6b9144876d08e5de2261a (diff) |
1998-09-12 Ben Elliston <bje@cygnus.com>
* {most}.c: Include <errno.h> to get POSIX error values.
* signal.c (pthread_sigmask): Only provide if HAVE_SIGSET_T is
defined.
* config.h: #undef features, don't #define them. This will be
generated by autoconf very soon.
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5,9 +5,13 @@ * POSIX thread-aware signal functions. */ +#include <errno.h> + #include "pthread.h" #include "implement.h" +#ifdef HAVE_SIGSET_T + int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) { @@ -70,3 +74,5 @@ pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) return 0; } + +#endif /* HAVE_SIGSET_T */ |