[project @ 1997-06-10 20:16:01 by sof]
authorsof <unknown>
Tue, 10 Jun 1997 20:16:02 +0000 (20:16 +0000)
committersof <unknown>
Tue, 10 Jun 1997 20:16:02 +0000 (20:16 +0000)
Don't include nativeGen/ bits if OMIT_NATIVE_CODEGEN is set

ghc/compiler/absCSyn/AbsCSyn.lhs
ghc/compiler/absCSyn/CLabel.lhs

index 7ccf298..f6dab7e 100644 (file)
@@ -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
index 9fedf64..8b067aa 100644 (file)
@@ -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 )