summaryrefslogtreecommitdiff
path: root/ghc/rts/Disassembler.c
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-02-11 17:51:08 +0000
committersimonmar <unknown>2001-02-11 17:51:08 +0000
commit6d35596c37601a9bf608e32034c390d516454c29 (patch)
tree541ac1b2467cf7275f9c5921be4d6ee516ea7edf /ghc/rts/Disassembler.c
parent57d614b4152e4a85f41cce29e3da37101f8bf33a (diff)
downloadhaskell-6d35596c37601a9bf608e32034c390d516454c29.tar.gz
[project @ 2001-02-11 17:51:07 by simonmar]
Bite the bullet and make GHCi support non-optional in the RTS. GHC 4.11 should be able to build GHCi without any additional tweaks now. - the Linker is split into two parts: LinkerBasic.c, containing the routines required by the rest of the RTS, and Linker.c, containing the linker proper, which is not referred to from the rest of the RTS. Only Linker.c requires -ldl, so programs which don't make use of the linker (everything except GHC, in other words) won't need -ldl.
Diffstat (limited to 'ghc/rts/Disassembler.c')
-rw-r--r--ghc/rts/Disassembler.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ghc/rts/Disassembler.c b/ghc/rts/Disassembler.c
index 65809d3883..7e3307918b 100644
--- a/ghc/rts/Disassembler.c
+++ b/ghc/rts/Disassembler.c
@@ -5,11 +5,11 @@
* Copyright (c) 1994-1998.
*
* $RCSfile: Disassembler.c,v $
- * $Revision: 1.18 $
- * $Date: 2001/01/05 15:24:28 $
+ * $Revision: 1.19 $
+ * $Date: 2001/02/11 17:51:07 $
* ---------------------------------------------------------------------------*/
-#ifdef GHCI
+#ifdef DEBUG
#include "Rts.h"
#include "RtsAPI.h"
@@ -190,4 +190,4 @@ void disassemble( StgBCO *bco )
ASSERT(pc == nbcs+1);
}
-#endif /* GHCI */
+#endif /* DEBUG */