Message ID | 20250609170910.650351-1-mischief@offblast.org |
---|---|
State | New |
Headers | show |
Series | [pseudo] fix _STAT_VER/_MKNOD_VER for riscv | expand |
diff --git a/ports/linux/portdefs.h b/ports/linux/portdefs.h index 9545550..1b4ce74 100644 --- a/ports/linux/portdefs.h +++ b/ports/linux/portdefs.h @@ -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
Signed-off-by: Nick Owens <mischief@offblast.org> --- ports/linux/portdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)