| 34 | |
| 35 | template <class T> |
| 36 | static T GetAddressOf(const char* name) { |
| 37 | #ifdef _linux_ |
| 38 | if (!GetEnv("DISABLE_MMSG")) { |
| 39 | return (T)dlsym(RTLD_DEFAULT, name); |
| 40 | } |
| 41 | #endif |
| 42 | Y_UNUSED(name); |
| 43 | return nullptr; |
| 44 | } |
| 45 | |
| 46 | /////////////////////////////////////////////////////////////////////////////// |
| 47 |