Commit 1eea92c1 authored by Simon Marlow's avatar Simon Marlow

fix build on Windows

parent f1bef503
......@@ -1121,7 +1121,7 @@ initLinker( void )
linker_init_done = 1;
}
#ifdef THREADED_RTS
#if defined(THREADED_RTS) && (defined(OBJFORMAT_ELF) || defined(OBJFORMAT_MACHO))
initMutex(&dl_mutex);
#endif
stablehash = allocStrHashTable();
......
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