diff options
Diffstat (limited to 'rts/Linker.c')
| -rw-r--r-- | rts/Linker.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/rts/Linker.c b/rts/Linker.c index 26d671e6e9..3735a2e558 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1091,16 +1091,17 @@ addDLL( char *dll_name )     opened_dlls     = o_dll;     return NULL; -#  else -   barf("addDLL: not implemented on this platform"); -#  endif  error:     stgFree(buf);     sysErrorBelch(dll_name); -                +     /* LoadLibrary failed; return a ptr to the error msg. */     return "addDLL: could not load DLL"; + +#  else +   barf("addDLL: not implemented on this platform"); +#  endif  }  /* ----------------------------------------------------------------------------- | 
