From: sof Date: Fri, 31 Oct 2003 23:24:47 +0000 (+0000) Subject: [project @ 2003-10-31 23:24:47 by sof] X-Git-Tag: Approx_11550_changesets_converted~295 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=005d4d4dc7c2409994204f9bbc6c42720c4ea6d4;p=ghc-hetmet.git [project @ 2003-10-31 23:24:47 by sof] tidy up siginterrupt() use --- diff --git a/ghc/rts/Signals.c b/ghc/rts/Signals.c index 455ee76..ced711f 100644 --- a/ghc/rts/Signals.c +++ b/ghc/rts/Signals.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Signals.c,v 1.39 2003/10/20 17:15:29 sof Exp $ + * $Id: Signals.c,v 1.40 2003/10/31 23:24:47 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -440,7 +440,7 @@ initDefaultHandlers() prog_belch("warning: failed to install SIGINT handler"); } -#ifndef cygwin32_TARGET_OS +#if defined(HAVE_SIGINTERRUPT) siginterrupt(SIGINT, 1); // isn't this the default? --SDM #endif