Add dummy version for symbian

(cherry picked from commit 13368fbb8a)
This commit is contained in:
Pierre Muller 2023-05-22 09:11:41 +00:00
parent e11fbf2bdc
commit ab0549fe61

View File

@ -16,6 +16,10 @@
{$mode objfpc} {$mode objfpc}
unit cpu; unit cpu;
{$ifdef symbian}
{$define NO_ELF_SUPPORT}
{$endif}
interface interface
function VFPv4Support : Boolean; function VFPv4Support : Boolean;
@ -57,6 +61,7 @@ unit cpu;
auxv: PElf32AuxiliaryVector; auxv: PElf32AuxiliaryVector;
begin begin
psysinfo := 0; psysinfo := 0;
{$ifndef NO_ELF_SUPPORT}
ep := envp; ep := envp;
while ep^ <> nil do while ep^ <> nil do
Inc(ep); Inc(ep);
@ -75,6 +80,7 @@ unit cpu;
end; end;
Inc(auxv); Inc(auxv);
end; end;
{$endif ndef NO_ELF_SUPPORT}
end; end;