Commit 1fdd21b3 authored by simonmar's avatar simonmar

[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.
parent 083e4450
/* -----------------------------------------------------------------------------
* $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
......
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