about summary refs log tree commit diff
path: root/dlfcn
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-18 18:44:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-18 18:44:33 +0000
commit70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c (patch)
tree8f3322b07a111d14b3ff960a5abd5d48422358b1 /dlfcn
parentad1b5f19680f923691a5674c132c4c36e9b162f5 (diff)
downloadglibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.gz
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.tar.xz
glibc-70b2845f71c1fb6bd5ec3ef325974b6a90cdb45c.zip
Update.
1999-08-18  Ulrich Drepper  <drepper@cygnus.com>

	* 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.
Diffstat (limited to 'dlfcn')
-rw-r--r--dlfcn/dlfcn.h6
1 files changed, 4 insertions, 2 deletions
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 <bits/dlfcn.h>
 
+#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