* trigger runerror 207 instead of 208 for unknown fpu errors (like on

Linux)

git-svn-id: trunk@2978 -
This commit is contained in:
Jonas Maebe 2006-03-19 20:45:23 +00:00
parent d56857e998
commit e053f4272b
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ begin
FPE_FLTRES : Res:=208; {Device not available}
FPE_FLTINV : Res:=207; {Invalid floating point operation}
Else
Res:=208; {coprocessor error}
Res:=207; {coprocessor error}
end;
{ the following is true on ppc, hopefully not on x86 as well }
{ FPU exceptions are completely disabled by the kernel if one occurred, it }

View File

@ -30,7 +30,7 @@ begin
FPE_FLTRES : Res:=208; {Device not available}
FPE_FLTINV : Res:=207; {Invalid floating point operation}
Else
Res:=208; {coprocessor error}
Res:=207; {coprocessor error}
end;
{ FPU exceptions are completely disabled by the kernel if one occurred, it }
{ seems this is necessary to be able to return to user mode. They can be }