From: sof Date: Fri, 21 Feb 2003 04:57:16 +0000 (+0000) Subject: [project @ 2003-02-21 04:57:16 by sof] X-Git-Tag: Approx_11550_changesets_converted~1120 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=e434189798bb3ca2125ac8978b4177511030582b;p=ghc-hetmet.git [project @ 2003-02-21 04:57:16 by sof] deja vu all over again --- diff --git a/ghc/compiler/utils/Panic.lhs b/ghc/compiler/utils/Panic.lhs index efb3c6a..b47ff7f 100644 --- a/ghc/compiler/utils/Panic.lhs +++ b/ghc/compiler/utils/Panic.lhs @@ -22,17 +22,18 @@ module Panic ) where #include "HsVersions.h" +#include "config.h" import Config import FastTypes -#if __GLASGOW_HASKELL__ > 504 +#ifndef mingw32_HOST_OS +# if __GLASGOW_HASKELL__ > 504 import System.Posix.Signals -#else +# else import Posix ( Handler(Catch), installHandler, sigINT, sigQUIT ) -#endif +# endif -#ifndef mingw32_HOST_OS import CONCURRENT ( myThreadId ) # if __GLASGOW_HASKELL__ < 500