X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgTypes.h;h=e864d812fd2e8a2b0555a9065e1218643b28d962;hb=a06f5e7b2158b57e40ebf255eb9d0b74e9625762;hp=ea0b5ba1eba3abef590fa45748248a0e53a704f3;hpb=dfd7d6d02a597949b08161ae3d49dc6dfc9e812d;p=ghc-hetmet.git diff --git a/ghc/includes/StgTypes.h b/ghc/includes/StgTypes.h index ea0b5ba..e864d81 100644 --- a/ghc/includes/StgTypes.h +++ b/ghc/includes/StgTypes.h @@ -1,10 +1,10 @@ /* ----------------------------------------------------------------------------- - * $Id: StgTypes.h,v 1.16 2001/07/23 17:23:19 simonmar Exp $ + * $Id: StgTypes.h,v 1.18 2001/10/03 13:57:42 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * * Various C datatypes used in the run-time system. This is the - * lowest-level include file (after config.h). + * lowest-level include file, after config.h and Derived.h. * * This module should define types *only*, all beginning with "Stg". * @@ -25,7 +25,7 @@ StgCode, StgArray, StgByteArray, StgStablePtr, StgFunPtr, StgUnion. - * WARNING: Keep this file and HsFFI.h in synch! + * WARNING: Keep this file, MachDeps.h, and HsFFI.h in synch! * * NOTE: assumes #include "config.h" * @@ -36,6 +36,8 @@ #ifndef STGTYPES_H #define STGTYPES_H +#include "Derived.h" + /* * First, platform-dependent definitions of size-specific integers. * Assume for now that the int type is 32 bits. @@ -57,15 +59,6 @@ typedef unsigned int StgWord32; #error GHC untested on this architecture: sizeof(unsigned int) != 4 #endif -/* This #define controls whether we need to support long longs on a particular - * platform. - * - * ToDo: find a proper home for (derived) configuration information like this. - */ -#if HAVE_LONG_LONG && SIZEOF_VOID_P < 8 -#define SUPPORT_LONG_LONGS -#endif - #ifdef SUPPORT_LONG_LONGS /* assume long long is 64 bits */ typedef signed long long int StgInt64;