* fixed netware compilation

git-svn-id: trunk@2514 -
This commit is contained in:
Jonas Maebe 2006-02-11 08:50:46 +00:00
parent 0b92a85012
commit 79403454c5

View File

@ -68,7 +68,7 @@ var
filestab : tstab; { stab with current file info }
{ value to subtract to addr parameter to get correct address on file }
{ this should be equal to the process start address in memory }
processaddress : cardinal;
processaddress : ptruint;
@ -1097,7 +1097,7 @@ var
begin
{ reset to prevent infinite recursion if problems inside the code PM }
{$ifdef netware}
dec(addr,system.NWGetCodeStart); {we need addr relative to code start on netware}
dec(addr,ptruint(system.NWGetCodeStart)); {we need addr relative to code start on netware}
{$endif}
Store:=BackTraceStrFunc;
BackTraceStrFunc:=@SysBackTraceStr;