|
@@ -75,14 +75,14 @@ TYPE
|
|
{ include /include/asm-<cpu>/posix-types.h }
|
|
{ include /include/asm-<cpu>/posix-types.h }
|
|
|
|
|
|
const
|
|
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_LINUX_OLD = 1;
|
|
_STAT_VER_KERNEL = 1;
|
|
_STAT_VER_KERNEL = 1;
|
|
_STAT_VER_SVR4 = 2;
|
|
_STAT_VER_SVR4 = 2;
|
|
_STAT_VER_LINUX = 3;
|
|
_STAT_VER_LINUX = 3;
|
|
{$else}
|
|
{$else}
|
|
_STAT_VER_KERNEL = 0;
|
|
_STAT_VER_KERNEL = 0;
|
|
-{$if defined(cpuaarch64)}
|
|
|
|
|
|
+{$if defined(cpuaarch64) or defined(cpuriscv64)}
|
|
_STAT_VER_LINUX = 0;
|
|
_STAT_VER_LINUX = 0;
|
|
{$else}
|
|
{$else}
|
|
_STAT_VER_LINUX = 1;
|
|
_STAT_VER_LINUX = 1;
|