From 1eea92c1baf0d1c9f69fa8b3f7b6105d0519aa2d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 22 Jan 2010 12:10:16 +0000 Subject: [PATCH] fix build on Windows --- rts/Linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Linker.c b/rts/Linker.c index c3d90d2..d84e4f7 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -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(); -- 1.7.10.4