From 97266903ff92a270243a05bfb4e9f9d008faff25 Mon Sep 17 00:00:00 2001 From: panne Date: Mon, 1 May 2000 14:44:25 +0000 Subject: [PATCH] [project @ 2000-05-01 14:44:25 by panne] The NCG doesn't like `foreign label' yet, so addrOf_ErrorHdrHook is a C function now. --- ghc/lib/std/cbits/writeError.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc/lib/std/cbits/writeError.c b/ghc/lib/std/cbits/writeError.c index 59aa2b2..2072b69 100644 --- a/ghc/lib/std/cbits/writeError.c +++ b/ghc/lib/std/cbits/writeError.c @@ -1,7 +1,7 @@ /* * (c) The GRASP/AQUA Project, Glasgow University, 1998 * - * $Id: writeError.c,v 1.4 1999/11/09 10:46:27 simonmar Exp $ + * $Id: writeError.c,v 1.5 2000/05/01 14:44:25 panne Exp $ * * hPutStr Runtime Support */ @@ -24,6 +24,12 @@ implementation in one or two places.) #include #endif +StgAddr +addrOf_ErrorHdrHook(void) +{ + return &ErrorHdrHook; +} + void writeErrString__ (msg_hdr, msg, len) StgAddr msg_hdr; -- 1.7.10.4