From dfbb9de8b50a87e7fc47d7bfacee2f76eeff7cc3 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Tue, 23 Sep 2014 06:47:56 +0900 Subject: [PATCH] CreateProcess hack for old GHCs. --- src/Misc.hs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Misc.hs b/src/Misc.hs index d9c0894..153531d 100644 --- a/src/Misc.hs +++ b/src/Misc.hs @@ -135,8 +135,12 @@ build = do , std_out = UseHandle nul , std_err = UseHandle nul , close_fds = False - , create_group = True - , delegate_ctlc = False +#if __GLASGOW_HASKELL__ >= 702 + , create_group = True +#endif +#if __GLASGOW_HASKELL__ >= 707 + , delegate_ctlc = False +#endif } autogen :: String