Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 0e0fda0

Browse files
ibaradlang-bot
authored andcommitted
Sync OpenBSD dlfcn.
1 parent 70a7204 commit 0e0fda0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/sys/openbsd/dlfcn.d

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* D header file for OpenBSD.
33
*
4-
* $(LINK2 http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/include/link_elf.h?rev=1.6&content-type=text/x-cvsweb-markup, dlfcn.h)
4+
* $(LINK2 https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/include/dlfcn.h?rev=1.15&content-type=text/plain, dlfcn.h)
55
*/
66
module core.sys.openbsd.dlfcn;
77

@@ -16,6 +16,7 @@ static assert(RTLD_NOW == 2);
1616
static assert(RTLD_GLOBAL == 0x100);
1717
static assert(RTLD_LOCAL == 0);
1818
enum RTLD_TRACE = 0x200;
19+
enum RTLD_NODELETE = 0x400;
1920

2021
enum RTLD_NEXT = cast(void *)-1;
2122
enum RTLD_DEFAULT = cast(void *)-2;
@@ -24,6 +25,7 @@ enum RTLD_SELF = cast(void *)-3;
2425
enum DL_GETERRNO = 1;
2526
enum DL_SETTHREADLCK = 2;
2627
enum DL_SETBINDLCK = 3;
28+
enum DL_REFERENCE = 4;
2729

2830
enum DL_LAZY = RTLD_LAZY;
2931

0 commit comments

Comments
 (0)