aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNeil Mitchell <unknown>2008-09-11 10:48:55 +0000
committerNeil Mitchell <unknown>2008-09-11 10:48:55 +0000
commit807dba0c134a2a9ba3ab949fc4004f5961016d66 (patch)
tree384577fc243da2e7a84876977f7f68de8235b9f1 /src
parentf87767a43e697743f9040f11a7a6fa70fa451a81 (diff)
Import GHC.Paths if not IN_GHC_TREE, seems to match the use of GHC.Paths functions much better
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 8bb58a34..68d7803b 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -42,12 +42,11 @@ import System.FilePath
import Foreign
import Foreign.C
import Data.Int
+#else
+import GHC.Paths
#endif
import GHC
-#ifdef GHC_PATHS
-import GHC.Paths
-#endif
import DynFlags
import Bag
import ErrUtils