diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-11-30 22:45:55 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-11-30 22:45:55 +0000 |
commit | e12ccd7203ac3f0133365a9d3d802195e534fd8e (patch) | |
tree | 621cecc877925383670ea20bfa45f7c140aafa38 /System/Posix/IO.hsc | |
parent | 3db0f40d3b3d27246599845b9f0f09ae0a88cd02 (diff) |
Bump base lower version to 4.5 (the version GHC 7.4.1 came with)
and remove code to support older versions
Diffstat (limited to 'System/Posix/IO.hsc')
-rw-r--r-- | System/Posix/IO.hsc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/System/Posix/IO.hsc b/System/Posix/IO.hsc index c5b8e55..ba0e690 100644 --- a/System/Posix/IO.hsc +++ b/System/Posix/IO.hsc @@ -1,7 +1,7 @@ {-# LANGUAGE ForeignFunctionInterface #-} {-# OPTIONS_GHC -fno-warn-unused-imports #-} {-# OPTIONS_GHC -XRecordWildCards #-} -#if __GLASGOW_HASKELL__ >= 701 +#ifdef __GLASGOW_HASKELL__ {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- @@ -71,13 +71,7 @@ module System.Posix.IO ( import System.Posix.Types import System.Posix.Error import System.Posix.IO.Common - -#if __GLASGOW_HASKELL__ > 611 import System.Posix.Internals ( withFilePath ) -#else -withFilePath :: FilePath -> (CString -> IO a) -> IO a -withFilePath = withCString -#endif -- |Open and optionally create this file. See 'System.Posix.Files' -- for information on how to use the 'FileMode' type. |