* Fixed warnings on non x86 targets.

git-svn-id: trunk@11201 -
This commit is contained in:
yury 2008-06-05 08:14:27 +00:00
parent 9ef6e6bc24
commit 0d12d51690

View File

@ -666,7 +666,7 @@ begin
end;
function fpc_safecallcheck(res : hresult) : hresult;[public,alias:'FPC_SAFECALLCHECK']; compilerproc; register;
function fpc_safecallcheck(res : hresult) : hresult;[public,alias:'FPC_SAFECALLCHECK']; compilerproc; {$ifdef CPU86} register; {$endif}
begin
if res<0 then
begin
@ -884,7 +884,7 @@ begin
end;
Procedure HandleErrorAddrFrame (Errno : longint;addr,frame : Pointer);[public,alias:'FPC_BREAK_ERROR']; register;
Procedure HandleErrorAddrFrame (Errno : longint;addr,frame : Pointer);[public,alias:'FPC_BREAK_ERROR']; {$ifdef CPU86} register; {$endif}
begin
If pointer(ErrorProc)<>Nil then
ErrorProc(Errno,addr,frame);