Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2686:263a354405ed | 2687:45609533aa75 |
---|---|
474 #endif | 474 #endif |
475 | 475 |
476 #ifdef __OpenBSD__ | 476 #ifdef __OpenBSD__ |
477 # include <sys/exec_elf.h> | 477 # include <sys/exec_elf.h> |
478 #endif | 478 #endif |
479 | |
480 #if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) | |
481 # ifdef __STDC__ | |
482 # define ElfW(type) Elf64_##type | |
483 # else | |
484 # define ElfW(type) Elf64_/**/type | |
485 # endif | |
486 #endif | |
479 | 487 |
480 #if __GNU_LIBRARY__ - 0 >= 6 | 488 #if __GNU_LIBRARY__ - 0 >= 6 |
481 # include <link.h> /* get ElfW etc */ | 489 # include <link.h> /* get ElfW etc */ |
482 #endif | 490 #endif |
483 | 491 |