X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Funexelf.c;h=6ac98448082a95c88b2618b8f7d9cea017cc88dc;hb=03b008c7b96f8cf150b08703d0c146c9ac32ef3a;hp=9a1a7d92e8eb37c8986f7f82f4827430a3064e19;hpb=dbf2768f7b146e97e37a27316f70bb313f1acf15;p=chise%2Fxemacs-chise.git.1 diff --git a/src/unexelf.c b/src/unexelf.c index 9a1a7d9..6ac9844 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -475,6 +475,14 @@ typedef struct { # include #endif +#if defined(__FreeBSD__) && (defined(__alpha__) || defined(_LP64)) +# ifdef __STDC__ +# define ElfW(type) Elf64_##type +# else +# define ElfW(type) Elf64_/**/type +# endif +#endif + #if __GNU_LIBRARY__ - 0 >= 6 # include /* get ElfW etc */ #endif