Add wxDynamicLibrary::GetModuleFromAddress().

Use dladdr() under Unix, if available, to provide the same functionality as we
get from GetModuleHandleEx() under MSW and export it in a new public function.

Closes #15248.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-03-11 16:04:06 +00:00
parent acd8a61bd8
commit f51dc81c85
9 changed files with 186 additions and 26 deletions

View File

@@ -1177,6 +1177,9 @@ typedef pid_t GPid;
/* Define if you have the dlerror function. */
#define HAVE_DLERROR 1
/* Define if you have the dladdr function. */
#undef HAVE_DLADDR
/* Define if you have Posix fnctl() function. */
#define HAVE_FCNTL 1