1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/emacs20/files/patch-ai
Hidetoshi Shimokawa ac34d7309c Add fix for Alpha.
- patch for configure, unexelf.c, alpha.h, PLIST and etc.
1999-01-23 14:28:28 +00:00

18 lines
361 B
Plaintext

--- src/unexelf.c.orig Mon Aug 10 11:33:12 1998
+++ src/unexelf.c Sun Jan 3 20:54:08 1999
@@ -512,6 +512,14 @@
# include <link.h> /* get ElfW etc */
#endif
+#ifdef __FreeBSD__
+# ifdef __STDC__
+# define ElfW(type) Elf_##type
+# else
+# define ElfW(type) Elf_/**/type
+# endif
+#endif
+
#ifndef ElfW
# ifdef __STDC__
# define ElfW(type) Elf32_##type