13
0

Don't use parts of signal.h that aren't defined when using mingw

This commit is contained in:
Paul Davis 2013-07-11 12:46:52 -04:00
parent e70db68fac
commit cb23bdd547

View File

@ -84,10 +84,12 @@ Transmitter::deliver ()
/* do the right thing if this should not return */
if (does_not_return()) {
#ifndef WIN32
sigset_t mask;
sigemptyset (&mask);
sigsuspend (&mask);
#endif
/*NOTREACHED*/
exit (1);
}