added #ifdef SIGQUIT for windows compatibility
This commit is contained in:
parent
952bf0a1d8
commit
7f62a3f6f2
1 changed files with 2 additions and 0 deletions
|
|
@ -42,9 +42,11 @@ void signal_handler( int sig )
|
|||
// ---------------------------
|
||||
{
|
||||
// --- On veut la paix, jusqu'a la fin ---
|
||||
#ifdef SIGQUIT
|
||||
signal( SIGINT, SIG_IGN );
|
||||
signal( SIGQUIT, SIG_IGN );
|
||||
std::cerr << "Ctrl C entered ... closing down" << std::endl ;
|
||||
arret_demande = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue