aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-12 12:59:13 +0000
committerIan Lynagh <igloo@earth.li>2008-09-12 12:59:13 +0000
commite07f9b5e3f9372c1f819275d32eeaffc744c126a (patch)
treecd8e8814de1c15541bc2fd33676197787ce22b51
parent56908954e02c87ab5097455096c70db27d35b831 (diff)
Wibble imports
-rw-r--r--src/Main.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 1bb22655..3cd6d5f7 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -39,11 +39,14 @@ import System.IO
import System.Exit
import System.Environment
import System.FilePath
-#ifdef IN_GHC_TREE
+
+#if defined(mingw32_HOST_OS)
import Foreign
import Foreign.C
import Data.Int
-#else
+#endif
+
+#ifndef IN_GHC_TREE
import GHC.Paths
#endif