* IsLibrary initialized by declaration

* IsLibrary for linux is set in dllprt0.as

git-svn-id: trunk@4547 -
This commit is contained in:
florian 2006-09-03 20:41:51 +00:00
parent 2ecd4522be
commit 73083de898
2 changed files with 1 additions and 2 deletions

View File

@ -341,7 +341,7 @@ var
ExitCode : Word; public name 'operatingsystem_result';
RandSeed : Cardinal;
{ Delphi compatibility }
IsLibrary : boolean;
IsLibrary : boolean = false;
IsConsole : boolean;
{ Threading support }
fpc_threadvar_relocate_proc : pointer; public name 'FPC_THREADVAR_RELOCATE';

View File

@ -251,7 +251,6 @@ var
Begin
SysResetFPU;
IsConsole := TRUE;
IsLibrary := FALSE;
StackLength := CheckInitialStkLen(initialStkLen);
StackBottom := initialstkptr - StackLength;
{ Set up signals handlers }