From e434189798bb3ca2125ac8978b4177511030582b Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 21 Feb 2003 04:57:16 +0000 Subject: [PATCH] [project @ 2003-02-21 04:57:16 by sof] deja vu all over again --- ghc/compiler/utils/Panic.lhs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 1.7.10.4