| 64 | const char DIR_SEP = '/'; |
| 65 | |
| 66 | bool load_impl(const std::string& modulePath) |
| 67 | { |
| 68 | void* handle = dlopen(modulePath.c_str(), RTLD_NOW | RTLD_LOCAL); |
| 69 | if (handle == nullptr) |
| 70 | { |
| 71 | MITK_WARN << dlerror(); |
| 72 | } |
| 73 | return (handle != nullptr); |
| 74 | } |
| 75 | |
| 76 | #elif defined(US_PLATFORM_WINDOWS) |
| 77 |
no test coverage detected