Fix build when --disable-threads is used.
This commit is contained in:
parent
9b9e3536e4
commit
2cb82ff21c
|
@ -81,6 +81,8 @@ do { \
|
|||
|
||||
#if !(defined(_WIN32) && !defined(__CYGWIN__))
|
||||
// Use sigprocmask() to set the signal mask in single-threaded programs.
|
||||
#include <signal.h>
|
||||
|
||||
static inline void
|
||||
mythread_sigmask(int how, const sigset_t *restrict set,
|
||||
sigset_t *restrict oset)
|
||||
|
|
Loading…
Reference in New Issue