Commit 55565d64 authored by Simon Marlow's avatar Simon Marlow

FIX BUILD on non-Windows

parent f34f333b
......@@ -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
}
/* -----------------------------------------------------------------------------
......
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