[project @ 2003-09-25 15:14:44 by panne]
[ghc-base.git] / System / Mem.hs
index a12847b..ec5b136 100644 (file)
@@ -18,7 +18,15 @@ module System.Mem (
  
 import Prelude
 
+#ifdef __HUGS__
+import Hugs.IOExts
+#endif
+
 #ifdef __GLASGOW_HASKELL__
 -- | Triggers an immediate garbage collection
 foreign import ccall {-safe-} "performGC" performGC :: IO ()
 #endif
+
+#ifdef __NHC__
+import NHC.IOExtras (performGC)
+#endif