fix _STAT_VER/_MKNOD_VER for riscv
PATCH 1/1 fix _STAT_VER/_MKNOD_VER for riscv
Signed-off-by Nick Owens <[email protected]>
--- ports/linux/portdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ports/linux/portdefs.h +2 -2
@@ -36,7 +36,7 @@ GLIBC_COMPAT_SYMBOL(memcpy,2.0);#include <linux/seccomp.h> #ifndef _STAT_VER -#if defined (__aarch64__) +#if defined (__aarch64__) || defined (__riscv)#define _STAT_VER 0#elif defined (__x86_64__)#define _STAT_VER 1
@@ -45,7 +45,7 @@ GLIBC_COMPAT_SYMBOL(memcpy,2.0);#endif #endif #ifndef _MKNOD_VER -#if defined (__aarch64__) +#if defined (__aarch64__) || defined(__riscv)#define _MKNOD_VER 0#elif defined (__x86_64__)#define _MKNOD_VER 0
Signature · 1 line
2.45.2