From 70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 18 Aug 1999 18:44:33 +0000 Subject: Update. 1999-08-18 Ulrich Drepper * ctype/ctype.h: Avoid useless #endif #if pairs. * dirent/dirent.h: Define ino_t and ino64_t if not done already. (seekdir): Fix type of second parameter. * sysdeps/generic/seekdir.c: Likewise. * sysdeps/mach/hurd/seekdir.c: Likewise. * sysdeps/unix/seekdir.c: Likewise. * dlfcn/dlfcn.h: Define RTLD_NEXT and RTLD_DEFAULT only if __USE_GNU. --- dlfcn/dlfcn.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dlfcn') diff --git a/dlfcn/dlfcn.h b/dlfcn/dlfcn.h index 76fdc3c1c9..22ab9aa2ac 100644 --- a/dlfcn/dlfcn.h +++ b/dlfcn/dlfcn.h @@ -27,16 +27,18 @@ /* Collect various system dependent definitions and declarations. */ #include +#ifdef __USE_GNU /* If the first argument of `dlsym' or `dlvsym' is set to RTLD_NEXT the run-time address of the symbol called NAME in the next shared object is returned. The "next" relation is defined by the order the shared objects were loaded. */ -#define RTLD_NEXT ((void *) -1l) +# define RTLD_NEXT ((void *) -1l) /* If the first argument to `dlsym' or `dlvsym' is set to RTLD_DEFAULT the run-time address of the symbol called NAME in the global scope is returned. */ -#define RTLD_DEFAULT NULL +# define RTLD_DEFAULT NULL +#endif __BEGIN_DECLS -- cgit 1.4.1