mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
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:
parent
22da36f83e
commit
fb672fe645
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user