Fix build when --disable-threads is used.

This commit is contained in:
Lasse Collin 2014-12-21 18:00:38 +02:00
parent 9b9e3536e4
commit 2cb82ff21c
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ do { \
#if !(defined(_WIN32) && !defined(__CYGWIN__)) #if !(defined(_WIN32) && !defined(__CYGWIN__))
// Use sigprocmask() to set the signal mask in single-threaded programs. // Use sigprocmask() to set the signal mask in single-threaded programs.
#include <signal.h>
static inline void static inline void
mythread_sigmask(int how, const sigset_t *restrict set, mythread_sigmask(int how, const sigset_t *restrict set,
sigset_t *restrict oset) sigset_t *restrict oset)