add missing unload_dso() for mac
This commit is contained in:
parent
cc61603a3f
commit
3820660b95
|
|
@ -137,6 +137,11 @@ void * load_dso(const DSearchPath &path, const Filename &filename)
|
|||
return answer;
|
||||
}
|
||||
|
||||
bool
|
||||
unload_dso(void *dso_handle) {
|
||||
return dlclose(dso_handle)==0;
|
||||
}
|
||||
|
||||
string
|
||||
load_dso_error() {
|
||||
char *message = dlerror();
|
||||
|
|
|
|||
Loading…
Reference in New Issue