summaryrefslogtreecommitdiff
path: root/editors/xemacs-devel/files/patch-ak
blob: 1284f826cc7efbe6799449d59508586343a54b27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./src/unexelf.c~    Sun Aug 15 03:29:56 1999
+++ ./src/unexelf.c     Tue Nov  2 10:24:55 1999
@@ -515,6 +515,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