Add contants RTLD contants on os_linux and posix (dlfcn).
This commit is contained in:
1 parent
f0e631cfa3
commit
4577d541ec
2 files changed
+16
-4
No files matched your search
@@ -111,6 +111,15 @@ when ODIN_OS == .Darwin {
|
||||
|
||||
RTLD_LOCAL :: RTLD_Flags{RTLD_Flag_Bits(log2(_RTLD_LOCAL))}
|
||||
|
||||
} else when ODIN_OS == .Linux {
|
||||
|
||||
RTLD_LAZY :: 0x001
|
||||
RTLD_NOW :: 0x002
|
||||
RTLD_GLOBAL :: 0x100
|
||||
|
||||
_RTLD_LOCAL :: 0
|
||||
RTLD_LOCAL :: RTLD_Flags{}
|
||||
|
||||
} else {
|
||||
#panic("posix is unimplemented for the current target")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user