Added an assertion.
committer: mfx <mfx> 981702739 +0000
This commit is contained in:
@@ -47,6 +47,7 @@ PackUnix::PackUnix(InputFile *f) :
|
|||||||
{
|
{
|
||||||
COMPILE_TIME_ASSERT(sizeof(Elf_LE32_Ehdr) == 52);
|
COMPILE_TIME_ASSERT(sizeof(Elf_LE32_Ehdr) == 52);
|
||||||
COMPILE_TIME_ASSERT(sizeof(Elf_LE32_Phdr) == 32);
|
COMPILE_TIME_ASSERT(sizeof(Elf_LE32_Phdr) == 32);
|
||||||
|
COMPILE_TIME_ASSERT(sizeof(b_info) == 12);
|
||||||
COMPILE_TIME_ASSERT(sizeof(l_info) == 12);
|
COMPILE_TIME_ASSERT(sizeof(l_info) == 12);
|
||||||
COMPILE_TIME_ASSERT(sizeof(p_info) == 12);
|
COMPILE_TIME_ASSERT(sizeof(p_info) == 12);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user