浏览代码

match LSB/glibc constants for dynamic loader

Rich Felker 14 年之前
父节点
当前提交
87a30ce50d
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      include/dlfcn.h

+ 4 - 4
include/dlfcn.h

@@ -1,10 +1,10 @@
 #ifndef	_DLFCN_H
 #ifndef	_DLFCN_H
 #define	_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
 #if 1
 #define RTLD_NEXT    ((void *) -1l)
 #define RTLD_NEXT    ((void *) -1l)