* the size of the FPC_RESSYMBOL pointer must depend on the target

cpu, not the host cpu

git-svn-id: trunk@19687 -
This commit is contained in:
Jonas Maebe 2011-11-25 16:56:50 +00:00
parent 2e4b7ae05c
commit de3a7f0cfd

View File

@ -351,7 +351,7 @@ implementation
ResourceInfo.concat(Tai_const.Createname('FPC_RESSYMBOL',0))
else
{ Nil pointer to resource information }
{$IFDEF CPU32}
{$IFDEF CPU32BIT}
ResourceInfo.Concat(Tai_const.Create_32bit(0));
{$ELSE}
ResourceInfo.Concat(Tai_const.Create_64bit(0));