summaryrefslogtreecommitdiffstats
path: root/util/system/dynlib.h
diff options
context:
space:
mode:
authorAlexander Gololobov <[email protected]>2022-02-10 16:47:37 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:37 +0300
commit39608cdb86363c75ce55b2b9a69841c3b71f22cf (patch)
tree4ec132c1665bd4d68e3628aa18d937c70d32413b /util/system/dynlib.h
parent54295b9bd4dc45c54d804084fd846d945148a7f0 (diff)
Restoring authorship annotation for Alexander Gololobov <[email protected]>. Commit 1 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 66eaf4a5c1c..d2e426aebb2 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;