From 7f62a3f6f256887efd73298b4d0135a498522cd6 Mon Sep 17 00:00:00 2001 From: tlegrand Date: Fri, 10 Aug 2007 14:31:04 +0000 Subject: [PATCH] added #ifdef SIGQUIT for windows compatibility --- eo/src/eoCtrlCContinue.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo/src/eoCtrlCContinue.cpp b/eo/src/eoCtrlCContinue.cpp index deec4176..51166ef2 100644 --- a/eo/src/eoCtrlCContinue.cpp +++ b/eo/src/eoCtrlCContinue.cpp @@ -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 }