From: sof Date: Tue, 26 Mar 2002 23:51:27 +0000 (+0000) Subject: [project @ 2002-03-26 23:51:27 by sof] X-Git-Tag: Approx_11550_changesets_converted~2218 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e2dec299cd0ea710d30a502056f2ae8de08fdc70;p=ghc-hetmet.git [project @ 2002-03-26 23:51:27 by sof] initDefaultHandlers(): siginterrupt() not supported w/ cygwin --- diff --git a/ghc/rts/Signals.c b/ghc/rts/Signals.c index 2e26d0b..9edefbb 100644 --- a/ghc/rts/Signals.c +++ b/ghc/rts/Signals.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Signals.c,v 1.23 2002/03/12 13:57:14 simonmar Exp $ + * $Id: Signals.c,v 1.24 2002/03/26 23:51:27 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -350,7 +350,9 @@ initDefaultHandlers() prog_belch("warning: failed to install SIGINT handler"); } +#ifndef cygwin32_TARGET_OS siginterrupt(SIGINT, 1); // isn't this the default? --SDM +#endif // install the SIGCONT handler action.sa_handler = cont_handler;