projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
618e732
)
fix for non-GHC
author
Ross Paterson
<ross@soi.city.ac.uk>
Thu, 4 May 2006 09:30:44 +0000
(09:30 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Thu, 4 May 2006 09:30:44 +0000
(09:30 +0000)
System/IO.hs
patch
|
blob
|
history
diff --git
a/System/IO.hs
b/System/IO.hs
index
8982119
..
6f0b017
100644
(file)
--- a/
System/IO.hs
+++ b/
System/IO.hs
@@
-407,6
+407,7
@@
hSetBinaryMode _ _ = return ()
-- -----------------------------------------------------------------------------
-- Utils
+#ifdef __GLASGOW_HASKELL__
-- Copied here to avoid recursive dependency with Control.Exception
bracket
:: IO a -- ^ computation to run first (\"acquire resource\")
@@
-422,3
+423,4
@@
bracket before after thing =
after a
return r
)
+#endif