added #ifdef SIGQUIT for windows compatibility

This commit is contained in:
tlegrand 2007-08-10 14:31:04 +00:00
commit 7f62a3f6f2

View file

@ -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
}