From 5c96b286de5f32dfaff1fa81712a3dee3d5e6329 Mon Sep 17 00:00:00 2001 From: sof Date: Tue, 10 Jun 1997 20:16:02 +0000 Subject: [PATCH] [project @ 1997-06-10 20:16:01 by sof] Don't include nativeGen/ bits if OMIT_NATIVE_CODEGEN is set --- ghc/compiler/absCSyn/AbsCSyn.lhs | 2 ++ ghc/compiler/absCSyn/CLabel.lhs | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) 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 ) -- 1.7.10.4