X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fincludes%2FStg.h;h=b6bbcfad9201324d6e45e25dd63bd859312a2c78;hb=b3e58b417b2cb47c35fe3006192a01eecf8d09b5;hp=b515e21f0be12a5ac8a28c93ce19fcf181e2d23d;hpb=0bffc410964e1688ad80d277d53400659e697ab5;p=ghc-hetmet.git diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index b515e21..b6bbcfa 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.50 2002/12/11 15:36:39 simonmar Exp $ + * $Id: Stg.h,v 1.54 2003/07/22 13:23:44 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -78,9 +78,6 @@ # define LAZY_BLACKHOLING #endif -/* ToDo: remove */ -#define COMPILER 1 - /* TABLES_NEXT_TO_CODE says whether to assume that info tables are * assumed to reside just before the code for a function. * @@ -192,6 +189,13 @@ typedef StgWord64 LW_; /* RTS public interface */ #include "RtsAPI.h" +/* System headers: stdlib.h is eeded so that we can use NULL. It must + * come after MachRegs.h, because stdlib.h might define some inline + * functions which may only be defined after register variables have + * been declared. + */ +#include + #ifdef SMP #include #endif @@ -228,6 +232,10 @@ DLL_IMPORT_RTS extern int prog_argc; extern void stackOverflow(void); +#if defined(WANT_DOTNET_SUPPORT) +#include "DNInvoke.h" +#endif + /* Creating and destroying an adjustor thunk. I cannot make myself create a separate .h file for these two (sof.)