From: sof Date: Mon, 25 Aug 1997 21:35:02 +0000 (+0000) Subject: [project @ 1997-08-25 21:35:02 by sof] X-Git-Tag: Approximately_1000_patches_recorded~132 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c06cba95f3a44d84b068bbd7af2557134bb8178a;p=ghc-hetmet.git [project @ 1997-08-25 21:35:02 by sof] define COMPILING_NCG to control inclusion of relevant GHC header file pieces --- diff --git a/ghc/compiler/nativeGen/NCG.h b/ghc/compiler/nativeGen/NCG.h index 99f2e22..c4e409e 100644 --- a/ghc/compiler/nativeGen/NCG.h +++ b/ghc/compiler/nativeGen/NCG.h @@ -1,5 +1,14 @@ #ifndef NCG_H #define NCG_H +#if 0 + COMPILING_NCG is used to control the visibility of + relevant information from the GHC header files when + compiling the native code generator modules. +#endif + +#ifndef COMPILING_NCG +#define COMPILING_NCG +#endif #if 0 @@ -37,6 +46,7 @@ you will screw up the layout where they are used in case expressions! # define STOLEN_X86_REGS 4 -- HACK: go for the max #endif + #include "../../includes/MachRegs.h" #if alpha_TARGET_ARCH