Riscv64 linux also needs _STAT_VER_LINUX to be zero for correct libc rtl behavior

This commit is contained in:
Pierre Muller 2025-01-22 18:29:19 +00:00
parent 9cac8e6183
commit d2f5bbac50

View File

@ -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;