diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mingw.h | 1 | ||||
-rw-r--r-- | compat/win32/pthread.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h index a5fb52f977..c26b6e2958 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -124,6 +124,7 @@ static inline int fcntl(int fd, int cmd, ...) #define sigemptyset(x) (void)0 static inline int sigaddset(sigset_t *set, int signum) { return 0; } +#define SIG_BLOCK 0 #define SIG_UNBLOCK 0 static inline int sigprocmask(int how, const sigset_t *set, sigset_t *oldset) { return 0; } diff --git a/compat/win32/pthread.h b/compat/win32/pthread.h index 8ad187344f..e74157cd4d 100644 --- a/compat/win32/pthread.h +++ b/compat/win32/pthread.h @@ -101,4 +101,9 @@ static inline void *pthread_getspecific(pthread_key_t key) return TlsGetValue(key); } +static inline int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) +{ + return 0; +} + #endif /* PTHREAD_H */ |