Commit 583be3fa authored by wolfgang's avatar wolfgang
Browse files

[project @ 2003-01-27 23:23:30 by wolfgang]

Add #ifdef around an assertion that only holds for the threaded RTS.
parent 773d8c85
......@@ -137,7 +137,9 @@ static Capability *returning_capabilities;
*/
void grabCapability(Capability** cap)
{
#ifdef RTS_SUPPORTS_THREADS
ASSERT(rts_n_free_capabilities > 0);
#endif
#if !defined(SMP)
rts_n_free_capabilities = 0;
*cap = &MainCapability;
......
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