From 30f6d5b5084f821e3ce5f2aa552ea26f5771fd74 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Mon, 30 Aug 1999 00:50:12 +0000 Subject: [PATCH] Add definition for RTLD_GLOBAL, which is soon to be supported. --- include/dlfcn.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/dlfcn.h b/include/dlfcn.h index 77b2181e4933..9990e6efbdf2 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -38,10 +38,12 @@ #include /* - * Modes for dlopen(). + * Modes and flags for dlopen(). */ #define RTLD_LAZY 1 /* Bind function calls lazily */ #define RTLD_NOW 2 /* Bind function calls immediately */ +#define RTLD_MODEMASK 0x3 +#define RTLD_GLOBAL 0x100 /* Make symbols globally available */ /* * Special handle argument for dlsym(). It causes the search for the