* 64-bit fix + mantis #29111, fix cmsghdr in an unit that is not actively compiled.

git-svn-id: trunk@32557 -
This commit is contained in:
marco 2015-11-30 21:49:39 +00:00
parent 3ff265da88
commit 11dd843f77

View File

@ -29,6 +29,6 @@ end;
function CMSG_DATA(cmsg: Pointer): PByte;
begin
Result:=PByte(Cardinal(cmsg) + SizeOf(Pcmsghdr));
Result:=PByte(Ptruint(cmsg) + SizeOf(cmsghdr));
end;