summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-27 01:01:19 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-27 01:01:19 -0400
commit87a30ce50d390422b3f4f0bd0e3f0664fb6a7da7 (patch)
tree0ef051e32dea21bd3dd4e17b6004fb2a763f4780
parent9e17b71fa658f102ecb2f210534070a2328dd6c9 (diff)
downloadmusl-87a30ce50d390422b3f4f0bd0e3f0664fb6a7da7.tar.gz
match LSB/glibc constants for dynamic loader
-rw-r--r--include/dlfcn.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 81b829c8..cdca9ec6 100644
--- a/include/dlfcn.h
+++ b/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)