mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +02:00
Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior
This commit is contained in:
parent
9cac8e6183
commit
d2f5bbac50
@ -75,14 +75,14 @@ TYPE
|
||||
{ include /include/asm-<cpu>/posix-types.h }
|
||||
|
||||
const
|
||||
{$if not defined(cpux86_64) and not defined (cpuaarch64)}
|
||||
{$if not defined(cpux86_64) and not defined (cpuaarch64) and not defined (cpuriscv64)}
|
||||
_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)}
|
||||
{$if defined(cpuaarch64) or defined(cpuriscv64)}
|
||||
_STAT_VER_LINUX = 0;
|
||||
{$else}
|
||||
_STAT_VER_LINUX = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user