diff src/unexelf.c @ 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 eae9afc261a9
children 1c30c1cf589e
line wrap: on
line diff
--- 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