mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Don't use parts of signal.h that aren't defined when using mingw
This commit is contained in:
parent
e70db68fac
commit
cb23bdd547
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue