Both _STAT_VER_KERNEL and _STAT_VER_LINUX are equal to zero for aarch64-linux

(cherry picked from commit 0641ea33d1)
This commit is contained in:
Pierre Muller 2023-01-08 23:48:14 +01:00
parent 22da36f83e
commit fb672fe645

View File

@ -75,14 +75,18 @@ TYPE
{ include /include/asm-<cpu>/posix-types.h }
const
{$ifndef cpux86_64}
{$if not defined(cpux86_64) and not defined (cpuaarch64)}
_STAT_VER_LINUX_OLD = 1;
_STAT_VER_KERNEL = 1;
_STAT_VER_SVR4 = 2;
_STAT_VER_LINUX = 3;
{$else}
_STAT_VER_KERNEL = 0;
{$if defined(cpuaarch64)}
_STAT_VER_LINUX = 0;
{$else}
_STAT_VER_LINUX = 1;
{$endif}
{$endif}
_STAT_VER = _STAT_VER_LINUX;