From: simonm Date: Thu, 12 Feb 1998 14:45:21 +0000 (+0000) Subject: [project @ 1998-02-12 14:45:21 by simonm] X-Git-Tag: Approx_2487_patches~961 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=100e0301ae10ffef747e6883eed0e4dfeb2de736;p=ghc-hetmet.git [project @ 1998-02-12 14:45:21 by simonm] protect some StablePtr stuff from __PARALLEL_HASKELL__. --- diff --git a/ghc/lib/std/PrelErr.lhs b/ghc/lib/std/PrelErr.lhs index 643900e..ca905a6 100644 --- a/ghc/lib/std/PrelErr.lhs +++ b/ghc/lib/std/PrelErr.lhs @@ -35,9 +35,11 @@ module PrelErr import PrelBase import PrelIOBase import PrelAddr -import PrelForeign ( StablePtr, deRefStablePtr ) import PrelList ( span ) +#ifndef __PARALLEL_HASKELL__ +import PrelForeign ( StablePtr, deRefStablePtr ) +#endif --------------------------------------------------------------- -- HACK: Magic unfoldings not implemented for unboxed lists