mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 22:00:37 +02:00
* trigger runerror 207 instead of 208 for unknown fpu errors (like on
Linux) git-svn-id: trunk@2978 -
This commit is contained in:
parent
d56857e998
commit
e053f4272b
@ -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 }
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user