From: sof Date: Tue, 10 Jun 1997 20:16:02 +0000 (+0000) Subject: [project @ 1997-06-10 20:16:01 by sof] X-Git-Tag: Approximately_1000_patches_recorded~302 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5c96b286de5f32dfaff1fa81712a3dee3d5e6329;p=ghc-hetmet.git [project @ 1997-06-10 20:16:01 by sof] Don't include nativeGen/ bits if OMIT_NATIVE_CODEGEN is set --- diff --git a/ghc/compiler/absCSyn/AbsCSyn.lhs b/ghc/compiler/absCSyn/AbsCSyn.lhs index 7ccf298..f6dab7e 100644 --- a/ghc/compiler/absCSyn/AbsCSyn.lhs +++ b/ghc/compiler/absCSyn/AbsCSyn.lhs @@ -39,7 +39,9 @@ IMP_Ubiq(){-uitous-} #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(AbsCLoop) #else +# if ! OMIT_NATIVE_CODEGEN import {-# SOURCE #-} MachMisc +# endif import {-# SOURCE #-} CLabel import {-# SOURCE #-} ClosureInfo import {-# SOURCE #-} CgRetConv diff --git a/ghc/compiler/absCSyn/CLabel.lhs b/ghc/compiler/absCSyn/CLabel.lhs index 9fedf64..8b067aa 100644 --- a/ghc/compiler/absCSyn/CLabel.lhs +++ b/ghc/compiler/absCSyn/CLabel.lhs @@ -58,11 +58,11 @@ import {-# SOURCE #-} CgRetConv #if ! OMIT_NATIVE_CODEGEN -#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 +# if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(NcgLoop) ( underscorePrefix, fmtAsmLbl ) -#else +# else import {-# SOURCE #-} MachMisc ( underscorePrefix, fmtAsmLbl ) -#endif +# endif #endif import CStrings ( pp_cSEP )