mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 16:28:24 +02:00
Morphos: Fixed compilation after r44709
git-svn-id: trunk@44711 -
This commit is contained in:
parent
3f579c10a4
commit
8b95fb8377
@ -1082,7 +1082,9 @@ Var
|
||||
begin
|
||||
SetLength(EnvList, 0);
|
||||
// pr_LocalVars are introduced with OS2.0
|
||||
{$ifdef AMIGA68k}
|
||||
if PLibrary(AOS_ExecBase)^.lib_Version >= 36 then
|
||||
{$endif}
|
||||
begin
|
||||
ThisProcess := PProcess(FindTask(nil)); //Get the pointer to our process
|
||||
LocalVars_List := @(ThisProcess^.pr_LocalVars); //get the list of pr_LocalVars as pointer
|
||||
|
Loading…
Reference in New Issue
Block a user