FIX BUILD (when compiling base via C): declare n_capabilities
authorSimon Marlow <simonmar@microsoft.com>
Wed, 10 Oct 2007 10:37:04 +0000 (10:37 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 10 Oct 2007 10:37:04 +0000 (10:37 +0000)
includes/RtsExternal.h

index 41c608d..6c1f71e 100644 (file)
@@ -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);