Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
585d87f1
Commit
585d87f1
authored
Jan 22, 2005
by
krasimir
Browse files
[project @ 2005-01-22 08:20:31 by krasimir]
import Foreign.Ptr and Foreign.C under Windows
parent
c7fd6356
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/compat/Compat/Directory.hs
View file @
585d87f1
...
...
@@ -37,6 +37,10 @@ import GHC.IOBase ( IOException(..) )
#
else
import
System.IO
(
try
)
#
endif
#
if
__GLASGOW_HASKELL__
&&
defined
(
mingw32_TARGET_OS
)
import
Foreign.Ptr
import
Foreign.C
#
endif
import
System.Directory
(
doesFileExist
,
doesDirectoryExist
,
getPermissions
,
setPermissions
,
createDirectory
)
getAppUserDataDirectory
::
String
->
IO
FilePath
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment