mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix build when --disable-threads is used.
This commit is contained in:
parent
9b9e3536e4
commit
2cb82ff21c
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue