changeset 2987:4762918e17fb

[xemacs-hg @ 2005-10-10 03:16:22 by youngs] 2005-10-10 Andrey Slusar <anrays@gmail.com> * unexelf.c: define `Elfw(type)' for FreeBSD alpha and all _LP64 archs. From Dejan Lesjak <dejan.lesjak@ijs.si>
author youngs
date Mon, 10 Oct 2005 03:16:25 +0000
parents 66ad30774567
children 105753d2552d
files src/ChangeLog src/unexelf.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Oct 10 02:45:32 2005 +0000
+++ b/src/ChangeLog	Mon Oct 10 03:16:25 2005 +0000
@@ -1,3 +1,9 @@
+2005-10-10  Andrey Slusar <anrays@gmail.com>
+
+	* unexelf.c: define `Elfw(type)' for FreeBSD alpha and all _LP64
+	archs. 
+	From Dejan Lesjak <dejan.lesjak@ijs.si>
+
 2005-10-04  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* Makefile.in.in (mule_canna_objs): Use correct name of .o.
--- a/src/unexelf.c	Mon Oct 10 02:45:32 2005 +0000
+++ b/src/unexelf.c	Mon Oct 10 03:16:25 2005 +0000
@@ -478,7 +478,7 @@
 # include <sys/exec_elf.h>
 #endif
 
-#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) 
+#if defined(__FreeBSD__) && (defined(__alpha__) || defined(_LP64)) 
 # ifdef __STDC__ 
 #  define ElfW(type)   Elf64_##type 
 # else