Make compatible again for GHC back to 7.4.1
By avoiding `import Foreign` this accomplishes backward-compatibility
w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP
conditionals.
Moreover, in order to support base<4.7 this commits needs to reintroduce
a harmless backport of `newFilePath`.
Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
Showing
- System/Posix/Env.hsc 11 additions, 0 deletionsSystem/Posix/Env.hsc
- System/Posix/Files/Common.hsc 5 additions, 1 deletionSystem/Posix/Files/Common.hsc
- System/Posix/Process/Common.hsc 0 additions, 5 deletionsSystem/Posix/Process/Common.hsc
- System/Posix/Signals.hsc 5 additions, 1 deletionSystem/Posix/Signals.hsc
Please register or sign in to comment