Skip to content

Commit 4bbd4f5

Browse files
committed
use the same numbers as musl
1 parent 8397fda commit 4bbd4f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/libdl/dlfcn.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#if !defined(_DLFCN_H)
66
#define _DLFCN_H
77

8-
#define RTLD_LAZY 0x1
9-
#undef RTLD_NOW /* unimplemented */
10-
#define RTLD_GLOBAL 0x4
11-
#undef RTLD_LOCAL /* unimplemented */
8+
#define RTLD_LAZY 0x0001
9+
#define RTLD_NOW 0x0002
10+
#define RTLD_GLOBAL 0x0100
11+
#define RTLD_LOCAL 0
1212

1313
void *dlopen(const char *name, int mode);
1414
void *dlsym(void *h, const char *name);

0 commit comments

Comments
 (0)