| 233 | } |
| 234 | |
| 235 | static inline void* dlsym(void* handle, const char* name) { |
| 236 | FARPROC symbol = GetProcAddress((HMODULE)handle, name); |
| 237 | return reinterpret_cast<void*>(symbol); |
| 238 | } |
| 239 | #elif __linux__ || __unix__ || __APPLE__ |
| 240 | #include <dlfcn.h> |
| 241 | #include <unistd.h> |
no outgoing calls
no test coverage detected