X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FMem.hs;h=af96b5dd1c293830369f0f07d4abbae505bff669;hb=HEAD;hp=ec5b136eded04bc42d9925b931eb6044a7d339e0;hpb=29246dd4eb44d03cc48cbd894821d3c9501d8829;p=ghc-base.git diff --git a/System/Mem.hs b/System/Mem.hs index ec5b136..af96b5d 100644 --- a/System/Mem.hs +++ b/System/Mem.hs @@ -1,3 +1,9 @@ +{-# LANGUAGE CPP #-} + +#ifdef __GLASGOW_HASKELL__ +{-# LANGUAGE ForeignFunctionInterface #-} +#endif + ----------------------------------------------------------------------------- -- | -- Module : System.Mem @@ -24,7 +30,7 @@ import Hugs.IOExts #ifdef __GLASGOW_HASKELL__ -- | Triggers an immediate garbage collection -foreign import ccall {-safe-} "performGC" performGC :: IO () +foreign import ccall {-safe-} "performMajorGC" performGC :: IO () #endif #ifdef __NHC__