Don't use parts of signal.h that aren't defined when using mingw
This commit is contained in:
parent
e70db68fac
commit
cb23bdd547
@ -84,10 +84,12 @@ Transmitter::deliver ()
|
|||||||
/* do the right thing if this should not return */
|
/* do the right thing if this should not return */
|
||||||
|
|
||||||
if (does_not_return()) {
|
if (does_not_return()) {
|
||||||
|
#ifndef WIN32
|
||||||
sigset_t mask;
|
sigset_t mask;
|
||||||
|
|
||||||
sigemptyset (&mask);
|
sigemptyset (&mask);
|
||||||
sigsuspend (&mask);
|
sigsuspend (&mask);
|
||||||
|
#endif
|
||||||
/*NOTREACHED*/
|
/*NOTREACHED*/
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user