From a4157bd2dc1e81f9da84b080a3dbaea18b329401 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 10 Oct 2007 10:37:04 +0000 Subject: [PATCH] FIX BUILD (when compiling base via C): declare n_capabilities --- includes/RtsExternal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 41c608d..6c1f71e 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -44,6 +44,7 @@ extern pid_t forkProcess(HsStablePtr *entry); extern HsBool rtsSupportsBoundThreads(void); extern StgInt newSpark (StgRegTable *reg, StgClosure *p); extern void stopTimer(void); +extern unsigned int n_capabilities; /* grimy low-level support functions defined in StgPrimFloat.c */ extern StgDouble __encodeDouble (I_ size, StgByteArray arr, I_ e); -- 1.7.10.4