X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Futils%2Fhsc2hs%2FMain.hs;h=f6f8ecb9ef5466c0f32851080b0bdac9ff28d8d6;hb=153b9cb9b11e05c4edb1b6bc0a7b972660e41f70;hp=770b1562fc9270781fe115228c212f2e89072717;hpb=bfdd44b2bfec3d819fd5ce19279832c25f096bb4;p=ghc-hetmet.git diff --git a/ghc/utils/hsc2hs/Main.hs b/ghc/utils/hsc2hs/Main.hs index 770b156..f6f8ecb 100644 --- a/ghc/utils/hsc2hs/Main.hs +++ b/ghc/utils/hsc2hs/Main.hs @@ -1,7 +1,7 @@ {-# OPTIONS -fffi -cpp #-} ------------------------------------------------------------------------ --- $Id: Main.hs,v 1.68 2005/01/27 12:38:49 ross Exp $ +-- $Id: Main.hs,v 1.69 2005/01/28 12:56:26 simonmar Exp $ -- -- Program for converting .hsc files to .hs files, by converting the -- file into a C program which is run to generate the Haskell source. @@ -11,6 +11,10 @@ -- -- See the documentation in the Users' Guide for more details. +#if defined(__GLASGOW_HASKELL__) && !defined(BUILD_NHC) +#include "../../includes/ghcconfig.h" +#endif + #if __GLASGOW_HASKELL__ >= 504 || __NHC__ >= 114 || __HUGS__ import System.Console.GetOpt #else