projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f34f333
)
FIX BUILD on non-Windows
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 8 Sep 2008 14:24:14 +0000
(14:24 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 8 Sep 2008 14:24:14 +0000
(14:24 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
26d671e
..
3735a2e
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-1091,16
+1091,17
@@
addDLL( char *dll_name )
opened_dlls = o_dll;
return NULL;
opened_dlls = o_dll;
return NULL;
-# else
- barf("addDLL: not implemented on this platform");
-# endif
error:
stgFree(buf);
sysErrorBelch(dll_name);
error:
stgFree(buf);
sysErrorBelch(dll_name);
-
+
/* LoadLibrary failed; return a ptr to the error msg. */
return "addDLL: could not load DLL";
/* LoadLibrary failed; return a ptr to the error msg. */
return "addDLL: could not load DLL";
+
+# else
+ barf("addDLL: not implemented on this platform");
+# endif
}
/* -----------------------------------------------------------------------------
}
/* -----------------------------------------------------------------------------