Commit f52b4ad9 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

Split the PlatformConstants type off into its own module

parent fa868633
...@@ -289,6 +289,7 @@ Library ...@@ -289,6 +289,7 @@ Library
InteractiveEval InteractiveEval
PackageConfig PackageConfig
Packages Packages
PlatformConstants
PprTyThing PprTyThing
StaticFlags StaticFlags
SysTools SysTools
......
...@@ -132,6 +132,7 @@ module DynFlags ( ...@@ -132,6 +132,7 @@ module DynFlags (
#include "HsVersions.h" #include "HsVersions.h"
import Platform import Platform
import PlatformConstants
import Module import Module
import PackageConfig import PackageConfig
import {-# SOURCE #-} PrelNames ( mAIN ) import {-# SOURCE #-} PrelNames ( mAIN )
...@@ -3333,7 +3334,6 @@ compilerInfo dflags ...@@ -3333,7 +3334,6 @@ compilerInfo dflags
("Global Package DB", systemPackageConfig dflags) ("Global Package DB", systemPackageConfig dflags)
] ]
#include "../includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs"
#include "../includes/dist-derivedconstants/header/GHCConstantsHaskellWrappers.hs" #include "../includes/dist-derivedconstants/header/GHCConstantsHaskellWrappers.hs"
bLOCK_SIZE_W :: DynFlags -> Int bLOCK_SIZE_W :: DynFlags -> Int
......
-------------------------------------------------------------------------------
--
-- | Platform constants
--
-- (c) The University of Glasgow 2013
--
-------------------------------------------------------------------------------
module PlatformConstants (PlatformConstants(..)) where
#include "../includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment