Skip to content
Snippets Groups Projects
Commit 443b34aa authored by toy's avatar toy
Browse files

Enable this to compile on Solaris. Solaris wants the same typedefs as

Linux.  (Unknown if this change allows this to work or not.)
parent d24c44ed
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ static char elf_magic_string[] = {ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3};
/* Note: FreeBSD has nice macros that let you use Elf_Ehdr
etc. declarations; unfortunately Linux doesn't have this so you
have to do Elf32_Ehdr etc. Bad for moving to 64 bits.... */
#ifdef __linux__
#if defined(__linux__) || defined(sparc)
typedef Elf32_Ehdr Elf_Ehdr;
typedef Elf32_Shdr Elf_Shdr;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment