Browse Source

match LSB/glibc constants for dynamic loader

Rich Felker 13 years ago
parent
commit
87a30ce50d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      include/dlfcn.h

+ 4 - 4
include/dlfcn.h

@@ -1,10 +1,10 @@
 #ifndef	_DLFCN_H
 #define	_DLFCN_H
 
-#define RTLD_LAZY   0x10000
-#define RTLD_NOW    0x20000
-#define RTLD_GLOBAL 0x40000
-#define RTLD_LOCAL  0x80000
+#define RTLD_LAZY   1
+#define RTLD_NOW    2
+#define RTLD_GLOBAL 256
+#define RTLD_LOCAL  0
 
 #if 1
 #define RTLD_NEXT    ((void *) -1l)