#undef PAGE_{MASK,SIZE} to fix build problems on some machines.

committer: mfx <mfx> 1139743226 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2006-02-12 11:20:26 +00:00
parent 24ce1ef5e7
commit 51ac5172f5
4 changed files with 8 additions and 2 deletions
+2
View File
@@ -894,6 +894,8 @@ void PackLinuxElf64amd::pack3(OutputFile *fo, Filter &ft)
fo->write(&zero, frag);
len += frag;
#undef PAGE_MASK
#undef PAGE_SIZE
#define PAGE_MASK (~0u<<12)
#define PAGE_SIZE (-PAGE_MASK)
upx_byte *const p = const_cast<upx_byte *>(getLoader());