fix warning on Windows
authorSimon Marlow <marlowsd@gmail.com>
Fri, 22 Jan 2010 12:03:28 +0000 (12:03 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 22 Jan 2010 12:03:28 +0000 (12:03 +0000)
rts/Linker.c

index 2f40270..c3d90d2 100644 (file)
@@ -1110,7 +1110,9 @@ void
 initLinker( void )
 {
     RtsSymbolVal *sym;
+#if defined(OBJFORMAT_ELF) || defined(OBJFORMAT_MACHO)
     int compileResult;
+#endif
 
     /* Make initLinker idempotent, so we can call it
        before evey relevant operation; that means we