Commit 9c11fdb9 authored by parcs's avatar parcs
Browse files

Fix build when PROF_SPIN is unset

whitehole_spin is only defined when PROF_SPIN is set.
parent 84dff710
......@@ -181,7 +181,9 @@ initStorage (void)
#ifdef THREADED_RTS
initSpinLock(&gc_alloc_block_sync);
#ifdef PROF_SPIN
whitehole_spin = 0;
#endif
#endif
N = 0;
......
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