diff options
author | Alexander Gololobov <[email protected]> | 2022-02-10 16:47:38 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:38 +0300 |
commit | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/dynlib.h | |
parent | 39608cdb86363c75ce55b2b9a69841c3b71f22cf (diff) |
Restoring authorship annotation for Alexander Gololobov <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/dynlib.h')
-rw-r--r-- | util/system/dynlib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/dynlib.h b/util/system/dynlib.h index d2e426aebb2..66eaf4a5c1c 100644 --- a/util/system/dynlib.h +++ b/util/system/dynlib.h @@ -8,18 +8,18 @@ #define Y_GET_FUNC(dll, name) FUNC_##name((dll).Sym(#name)) #define Y_GET_FUNC_OPTIONAL(dll, name) FUNC_##name((dll).SymOptional(#name)) -#ifdef _win32_ +#ifdef _win32_ #define DEFAULT_DLLOPEN_FLAGS 0 -#else +#else #include <dlfcn.h> - + #ifndef RTLD_GLOBAL #define RTLD_GLOBAL (0) #endif - + #define DEFAULT_DLLOPEN_FLAGS (RTLD_NOW | RTLD_GLOBAL) -#endif - +#endif + class TDynamicLibrary { public: TDynamicLibrary() noexcept; |