* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.

This commit is contained in:
Roland McGrath 1998-10-23 23:12:28 +00:00
parent b1fcf68625
commit d606f528f7
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
1998-10-24 Roland McGrath <roland@baalperazim.frob.com>
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
* sysdeps/mach/hurd/opendir.c (__opendir): Return ENOENT for "".
(__opendir): Add trailing slash to name for open, for ENOTDIR check.

View File

@ -1,5 +1,5 @@
/* We must use the appropriate version for the system. */
#ifdef __ELF__
#ifdef HAVE_ELF
# include <elf/ldsodefs.h>
#else
/* We have no dynamic loading. Define the macros we need here as dummy