diff options
Diffstat (limited to 'signal/signal.h')
-rw-r--r-- | signal/signal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/signal/signal.h b/signal/signal.h index 8a37dde0c1..97656d8fd0 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -170,12 +170,12 @@ typedef __sighandler_t sig_t; #endif /* <signal.h> included. */ -# if !defined __sigset_t_defined \ +#if !defined __sigset_t_defined \ && ((defined _SIGNAL_H && defined __USE_POSIX) || defined __need_sigset_t) typedef __sigset_t sigset_t; -# define __sigset_t_defined 1 -# endif /* `sigset_t' not defined and <signal.h> or need `sigset_t'. */ -# undef __need_sigset_t +# define __sigset_t_defined 1 +#endif /* `sigset_t' not defined and <signal.h> or need `sigset_t'. */ +#undef __need_sigset_t #ifdef __USE_POSIX |