Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
2986:66ad30774567 | 2987:4762918e17fb |
---|---|
476 | 476 |
477 #ifdef __OpenBSD__ | 477 #ifdef __OpenBSD__ |
478 # include <sys/exec_elf.h> | 478 # include <sys/exec_elf.h> |
479 #endif | 479 #endif |
480 | 480 |
481 #if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) | 481 #if defined(__FreeBSD__) && (defined(__alpha__) || defined(_LP64)) |
482 # ifdef __STDC__ | 482 # ifdef __STDC__ |
483 # define ElfW(type) Elf64_##type | 483 # define ElfW(type) Elf64_##type |
484 # else | 484 # else |
485 # define ElfW(type) Elf64_/**/type | 485 # define ElfW(type) Elf64_/**/type |
486 # endif | 486 # endif |