diff options
author | Ian Lynagh <igloo@earth.li> | 2007-02-06 00:32:32 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2007-02-06 00:32:32 +0000 |
commit | 373b03fe979abe898a387e02ca22007b768e343e (patch) | |
tree | 4933a153e01a03dfd3c325e763986e9f93b201de /utils/hsc2hs/Main.hs | |
parent | 001d6ffda6a509c6349f6644df10e8fcf270d218 (diff) | |
download | haskell-373b03fe979abe898a387e02ca22007b768e343e.tar.gz |
Don't use compat when compiling utils with stage1
Diffstat (limited to 'utils/hsc2hs/Main.hs')
-rw-r--r-- | utils/hsc2hs/Main.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/hsc2hs/Main.hs b/utils/hsc2hs/Main.hs index 75ea57b555..77b948f37a 100644 --- a/utils/hsc2hs/Main.hs +++ b/utils/hsc2hs/Main.hs @@ -42,7 +42,11 @@ import System.IO ( openFile, IOMode(..), hClose ) #endif #if defined(__GLASGOW_HASKELL__) && !defined(BUILD_NHC) -import Compat.RawSystem ( rawSystem ) +#ifdef USING_COMPAT +import Compat.RawSystem ( rawSystem ) +#else +import System.Cmd ( rawSystem ) +#endif #define HAVE_rawSystem #elif __NHC__ >= 117 import System.Cmd ( rawSystem ) |