vmangos/dep/cpptrace/cmake/has_dladdr1.cpp
_BLU 28818aabd8
Replace ACE with native IO implementation (#2740)
- Replace ACE with native OS APIs.
- Remove TBB
- Update gSOAP from `2.7.10` (2008) to `2.8.135` (2024)
- Replace `backward.hpp` with `jeremy-rifkin/cpptrace`
2026-01-09 14:48:34 +01:00

8 lines
211 B
C++

#include <dlfcn.h>
#include <link.h>
int main() {
Dl_info info;
link_map* link_map_info;
dladdr1(reinterpret_cast<void*>(&main), &info, reinterpret_cast<void**>(&link_map_info), RTLD_DL_LINKMAP);
}