diff options
author | simonmar <unknown> | 2001-07-23 15:11:55 +0000 |
---|---|---|
committer | simonmar <unknown> | 2001-07-23 15:11:55 +0000 |
commit | 1fdd21b3cac37f4831d2cb4f4578c80c860a932c (patch) | |
tree | 094d0d92edbbe4a9a26dfe1a5e1b43dd230bee87 | |
parent | 083e4450e89e645f9b4d4ec0d2b859f4b25f6ce8 (diff) | |
download | haskell-1fdd21b3cac37f4831d2cb4f4578c80c860a932c.tar.gz |
[project @ 2001-07-23 15:11:55 by simonmar]
Grrr. Do not #include "Stg.h" in plain C code, because that enables
all the global register variables. #include "Rts.h" directly instead.
This was correct in the original StgLongLong.c, why on earth it was
changed is beyond me.
-rw-r--r-- | ghc/lib/std/cbits/longlong.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/lib/std/cbits/longlong.c b/ghc/lib/std/cbits/longlong.c index d4180538b3..5a7bd55108 100644 --- a/ghc/lib/std/cbits/longlong.c +++ b/ghc/lib/std/cbits/longlong.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: longlong.c,v 1.2 2001/07/14 00:06:15 sof Exp $ + * $Id: longlong.c,v 1.3 2001/07/23 15:11:55 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -26,7 +26,7 @@ The exceptions to the rule are primops that cast to and from 64-bit entities (these are defined in PrimOps.h) */ -#include "Stg.h" +#include "Rts.h" #ifdef SUPPORT_LONG_LONGS |