From 4caf3550d43477e0948d3212868a665d08c0cfbc Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 8 Dec 2009 10:09:25 +0000 Subject: [PATCH] declare g0 (fixes compilation failure with -fvia-C) --- includes/stg/MiscClosures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index 24323cd..e68282e 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -618,7 +618,7 @@ extern StgWord stg_ap_stack_entries[]; extern StgWord stg_stack_save_entries[]; // Storage.c -extern unsigned int RTS_VAR(alloc_blocks); +extern unsigned int RTS_VAR(g0); extern unsigned int RTS_VAR(alloc_blocks_lim); extern StgWord RTS_VAR(weak_ptr_list); extern StgWord RTS_VAR(atomic_modify_mutvar_mutex); -- 1.7.10.4