projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ba09ea0
)
Include HsVersions.h where necessary
author
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 23 Apr 2008 04:28:20 +0000
(
04:28
+0000)
committer
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 23 Apr 2008 04:28:20 +0000
(
04:28
+0000)
compiler/cmm/CLabel.hs
patch
|
blob
|
history
compiler/cmm/PprC.hs
patch
|
blob
|
history
compiler/main/DriverPhases.hs
patch
|
blob
|
history
compiler/nativeGen/PositionIndependentCode.hs
patch
|
blob
|
history
compiler/nativeGen/PprMach.hs
patch
|
blob
|
history
compiler/typecheck/TcForeign.lhs
patch
|
blob
|
history
diff --git
a/compiler/cmm/CLabel.hs
b/compiler/cmm/CLabel.hs
index
3c06129
..
cb07d06
100644
(file)
--- a/
compiler/cmm/CLabel.hs
+++ b/
compiler/cmm/CLabel.hs
@@
-111,6
+111,8
@@
module CLabel (
pprCLabel
) where
+#include "HsVersions.h"
+
import StaticFlags
import Packages
import DataCon
diff --git
a/compiler/cmm/PprC.hs
b/compiler/cmm/PprC.hs
index
7c4ca1c
..
3673e7c
100644
(file)
--- a/
compiler/cmm/PprC.hs
+++ b/
compiler/cmm/PprC.hs
@@
-30,6
+30,8
@@
module PprC (
pprStringInCStyle
) where
+#include "HsVersions.h"
+
-- Cmm stuff
import Cmm
import CLabel
diff --git
a/compiler/main/DriverPhases.hs
b/compiler/main/DriverPhases.hs
index
2013f44
..
8d8fec4
100644
(file)
--- a/
compiler/main/DriverPhases.hs
+++ b/
compiler/main/DriverPhases.hs
@@
-33,6
+33,8
@@
module DriverPhases (
isSourceFilename -- :: FilePath -> Bool
) where
+#include "HsVersions.h"
+
import Panic ( panic )
import System.FilePath
diff --git
a/compiler/nativeGen/PositionIndependentCode.hs
b/compiler/nativeGen/PositionIndependentCode.hs
index
3f32c38
..
0473d91
100644
(file)
--- a/
compiler/nativeGen/PositionIndependentCode.hs
+++ b/
compiler/nativeGen/PositionIndependentCode.hs
@@
-14,6
+14,8
@@
module PositionIndependentCode (
initializePicBase
) where
+#include "HsVersions.h"
+
{-
This module handles generation of position independent code and
dynamic-linking related issues for the native code generator.
diff --git
a/compiler/nativeGen/PprMach.hs
b/compiler/nativeGen/PprMach.hs
index
64fa024
..
a9621d4
100644
(file)
--- a/
compiler/nativeGen/PprMach.hs
+++ b/
compiler/nativeGen/PprMach.hs
@@
-24,6
+24,8
@@
module PprMach (
pprInstr, pprSize, pprUserReg
) where
+#include "HsVersions.h"
+
import Cmm
import MachOp ( MachRep(..), wordRep, isFloatingRep )
import MachRegs -- may differ per-platform
diff --git
a/compiler/typecheck/TcForeign.lhs
b/compiler/typecheck/TcForeign.lhs
index
57ef40a
..
59009ac
100644
(file)
--- a/
compiler/typecheck/TcForeign.lhs
+++ b/
compiler/typecheck/TcForeign.lhs
@@
-25,6
+25,8
@@
module TcForeign
, tcForeignExports
) where
+#include "HsVersions.h"
+
import HsSyn
import TcRnMonad