projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2003-04-17 15:23:37 by simonpj]
[ghc-base.git]
/
System
/
Mem.hs
diff --git
a/System/Mem.hs
b/System/Mem.hs
index
2391936
..
ec5b136
100644
(file)
--- a/
System/Mem.hs
+++ b/
System/Mem.hs
@@
-26,3
+26,7
@@
import Hugs.IOExts
-- | Triggers an immediate garbage collection
foreign import ccall {-safe-} "performGC" performGC :: IO ()
#endif
+
+#ifdef __NHC__
+import NHC.IOExtras (performGC)
+#endif