Commit 265af43f authored by Simon Marlow's avatar Simon Marlow
Browse files

Make enabled_capabilities visible (fixes dynamic linking)

parent 2b977d98
......@@ -57,6 +57,9 @@ HsBool rtsSupportsBoundThreads (void);
// The number of Capabilities
extern unsigned int n_capabilities;
// The number of Capabilities that are not disabled
extern nat enabled_capabilities;
extern Capability MainCapability;
......@@ -207,8 +207,7 @@ INLINE_HEADER void releaseCapability_ (Capability* cap STG_UNUSED,
// declared in includes/rts/Threads.h:
// extern nat n_capabilities;
extern nat enabled_capabilities;
// extern nat enabled_capabilities;
// Array of all the capabilities
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment