Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131874939
D31427.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
430 B
Referenced Files
None
Subscribers
None
D31427.diff
View Options
diff --git a/sys/sys/elf_generic.h b/sys/sys/elf_generic.h
--- a/sys/sys/elf_generic.h
+++ b/sys/sys/elf_generic.h
@@ -57,6 +57,9 @@
#define __ELFN(x) __CONCAT(__CONCAT(__CONCAT(ELF,__ELF_WORD_SIZE),_),x)
#define __ElfType(x) typedef __ElfN(x) __CONCAT(Elf_,x)
+/* Define ElfW for compatibility with Linux, prefer __ElfN() in FreeBSD code */
+#define ElfW(x) __ElfN(x)
+
__ElfType(Addr);
__ElfType(Half);
__ElfType(Off);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 9:30 PM (21 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23583306
Default Alt Text
D31427.diff (430 B)
Attached To
Mode
D31427: Add ElfW() macro for compatibility with Linux.
Attached
Detach File
Event Timeline
Log In to Comment