projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3602419
)
Make new permissions stuff build with nhc98.
author
Malcolm.Wallace@me.com
<unknown>
Thu, 2 Sep 2010 08:22:54 +0000
(08:22 +0000)
committer
Malcolm.Wallace@me.com
<unknown>
Thu, 2 Sep 2010 08:22:54 +0000
(08:22 +0000)
System/Directory.hs
patch
|
blob
|
history
diff --git
a/System/Directory.hs
b/System/Directory.hs
index
e179c93
..
d264583
100644
(file)
--- a/
System/Directory.hs
+++ b/
System/Directory.hs
@@
-120,6
+120,8
@@
import qualified System.Win32 as Win32
import qualified System.Posix as Posix
#endif
+#endif /* __GLASGOW_HASKELL__ */
+
{- $intro
A directory contains a series of entries, each of which is a named
reference to a file system object (file, directory etc.). Some
@@
-196,6
+198,8
@@
The operation may fail with:
-}
+#ifdef __GLASGOW_HASKELL__
+
getPermissions :: FilePath -> IO Permissions
getPermissions name = do
#ifdef mingw32_HOST_OS