mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
b47bf4289c
PR: ports/19692 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
18 lines
377 B
Plaintext
18 lines
377 B
Plaintext
--- src/unexelf.c.orig Mon May 15 17:14:02 2000
|
|
+++ src/unexelf.c Sat Jul 1 18:17:15 2000
|
|
@@ -506,6 +506,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 ElfBitsW(bits, type) Elf##bits##_##type
|