X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff0ea71ceacc214261f90946cfa7c9b5980c40fd..cfd885695ef3adf16de2a7c9bc7b85f33c80ffbe:/src/common/dynlib.cpp?ds=inline diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index eca2040c2b..876f60c07d 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -45,11 +45,10 @@ # define wxDllOpen(lib) dlopen(lib.fn_str(), RTLD_NOW/*RTLD_LAZY*/) # define wxDllGetSymbol(handle, name) dlsym(handle, name.mb_str()) # define wxDllClose dlclose -aaa=1 #elif defined(HAVE_SHL_LOAD) # define wxDllOpen(lib) shl_load(lib.fn_str(), BIND_DEFERRED, 0) # define wxDllClose shl_unload -bbb=1 + static inline void *wxDllGetSymbol(shl_t handle, const wxString& name) { void *sym;