summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-23 23:12:28 +0000
committerRoland McGrath <roland@gnu.org>1998-10-23 23:12:28 +0000
commitd606f528f7a551fd8693644086d9987375b4c491 (patch)
tree414b68b49169694db4a846d6d3ba96797e94e7de
parentb1fcf68625449f2af64f973cfe840ff5f150c23e (diff)
downloadglibc-d606f528f7a551fd8693644086d9987375b4c491.tar.gz
glibc-d606f528f7a551fd8693644086d9987375b4c491.tar.xz
glibc-d606f528f7a551fd8693644086d9987375b4c491.zip
* include/ldsodefs.h: Test HAVE_ELF instead of __ELF__.
-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