Use dl_iterate_phdr() in wxDynamicLibrary::ListLoaded()
This has the advantage of returning libraries in their load order, which is more useful than the unspecified order that was used before. It also means that this function now has a chance of working under other systems such as FreeBSD, which also provides dl_iterate_phdr().
This commit is contained in:
parent
d22275ce0a
commit
aec49d9c9d
6 changed files with 75 additions and 76 deletions
|
|
@ -935,6 +935,9 @@
|
|||
/* Define if you have the dladdr function. */
|
||||
#undef HAVE_DLADDR
|
||||
|
||||
/* Define if you have the dl_iterate_phdr function. */
|
||||
#undef HAVE_DL_ITERATE_PHDR
|
||||
|
||||
/* Define if you have Posix fnctl() function. */
|
||||
#undef HAVE_FCNTL
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue