aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--include/ldsodefs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b1e31cb69..7494f82eba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/include/ldsodefs.h b/include/ldsodefs.h
index 3c24e4e471..f171d4c7ea 100644
--- a/include/ldsodefs.h
+++ b/include/ldsodefs.h
@@ -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