mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 13:09:17 +02:00
* SysResetFPU fix for BeOS by Olivier Coursiere
git-svn-id: trunk@9010 -
This commit is contained in:
parent
e207391454
commit
04086e9df2
@ -348,12 +348,15 @@ end;
|
|||||||
var
|
var
|
||||||
s : string;
|
s : string;
|
||||||
begin
|
begin
|
||||||
SysResetFPU;
|
|
||||||
IsConsole := TRUE;
|
IsConsole := TRUE;
|
||||||
IsLibrary := FALSE;
|
IsLibrary := FALSE;
|
||||||
StackLength := CheckInitialStkLen(InitialStkLen);
|
StackLength := CheckInitialStkLen(InitialStkLen);
|
||||||
StackBottom := Sptr - StackLength;
|
StackBottom := Sptr - StackLength;
|
||||||
|
|
||||||
|
SysResetFPU;
|
||||||
|
if not(IsLibrary) then
|
||||||
|
SysInitFPU;
|
||||||
|
|
||||||
{ Set up signals handlers }
|
{ Set up signals handlers }
|
||||||
InstallSignals;
|
InstallSignals;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user