summaryrefslogtreecommitdiffstats
path: root/util/system/dynlib.h
diff options
context:
space:
mode:
authorAlexander Gololobov <[email protected]>2022-02-10 16:47:38 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:38 +0300
commitfccc62e9bfdce9be2fe7e0f23479da3a5512211a (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/dynlib.h
parent39608cdb86363c75ce55b2b9a69841c3b71f22cf (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.h12
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;