mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
os: Ensure sigset_t is provided when compiling for MinGW
Only _sigset_t is defined by MinGW's signal.h
This commit is contained in:
parent
7b4b030df8
commit
a838c840a3
1 changed files with 4 additions and 0 deletions
|
|
@ -721,6 +721,10 @@ os_move_fd(int fd);
|
|||
|
||||
#include <signal.h>
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
typedef _sigset_t sigset_t;
|
||||
#endif
|
||||
|
||||
extern _X_EXPORT int
|
||||
xthread_sigmask(int how, const sigset_t *set, sigset_t *oldest);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue