From 362a3eadebeb037da28eeb0a1f5048cc72f578ee Mon Sep 17 00:00:00 2001 From: John Polstra Date: Tue, 19 Sep 2000 04:24:50 +0000 Subject: [PATCH] Add a definition for RTLD_DEFAULT. --- include/dlfcn.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/dlfcn.h b/include/dlfcn.h index 14a2b4d25be2..16695606a0f2 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -47,11 +47,10 @@ #define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default */ /* - * Special handle argument for dlsym(). It causes the search for the - * symbol to begin in the next shared object after the one containing - * the caller. + * Special handle arguments for dlsym(). */ -#define RTLD_NEXT ((void *) -1) +#define RTLD_NEXT ((void *) -1) /* Search subsequent objects */ +#define RTLD_DEFAULT ((void *) -2) /* Use default search algorithm */ /* * Structure filled in by dladdr().