[commit: hsc2hs] master: Fix cross-compiling from Linux to Windows (Closes: #9524). (e32b4fa)
git at git.haskell.org
git at git.haskell.org
Wed Mar 4 00:32:06 UTC 2015
Repository : ssh://git@git.haskell.org/hsc2hs
On branch : master
Link : http://git.haskell.org/hsc2hs.git/commitdiff/e32b4faf97833f92708a8f3f8bbb015f5d1dbcc7
>---------------------------------------------------------------
commit e32b4faf97833f92708a8f3f8bbb015f5d1dbcc7
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Sun Feb 8 12:59:54 2015 +1100
Fix cross-compiling from Linux to Windows (Closes: #9524).
Remove include of "../../includes/ghcconfig.h" which should really
only be a GHC-build-time include, not an include for building
external tools like this.
>---------------------------------------------------------------
e32b4faf97833f92708a8f3f8bbb015f5d1dbcc7
Main.hs | 4 ----
1 file changed, 4 deletions(-)
diff --git a/Main.hs b/Main.hs
index afa192e..40e52dc 100644
--- a/Main.hs
+++ b/Main.hs
@@ -9,10 +9,6 @@
--
-- See the documentation in the Users' Guide for more details.
-#if defined(__GLASGOW_HASKELL__) && !defined(BUILD_NHC)
-#include "../../includes/ghcconfig.h"
-#endif
-
import Control.Monad ( liftM, forM_ )
import Data.List ( isSuffixOf )
import System.Console.GetOpt
More information about the ghc-commits
mailing list