Mercurial > hg > xemacs-beta
diff src/unexelf.c @ 2687:45609533aa75
[xemacs-hg @ 2005-03-25 16:34:53 by aidan]
Andrey Slusar's FreeBSD fixes for fakemail.c, unexelf.c, as sent in
86d5uq2e3i.fsf@santinel.home.ua .
author | aidan |
---|---|
date | Fri, 25 Mar 2005 16:35:00 +0000 |
parents | 04bc9d2f42c7 |
children | eae9afc261a9 |
line wrap: on
line diff
--- a/src/unexelf.c Fri Mar 25 16:15:56 2005 +0000 +++ b/src/unexelf.c Fri Mar 25 16:35:00 2005 +0000 @@ -477,6 +477,14 @@ # include <sys/exec_elf.h> #endif +#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) +# ifdef __STDC__ +# define ElfW(type) Elf64_##type +# else +# define ElfW(type) Elf64_/**/type +# endif +#endif + #if __GNU_LIBRARY__ - 0 >= 6 # include <link.h> /* get ElfW etc */ #endif