diff options
Diffstat (limited to 'tools/util.c')
-rw-r--r-- | tools/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/util.c b/tools/util.c index 7122335..741b2a2 100644 --- a/tools/util.c +++ b/tools/util.c @@ -78,6 +78,8 @@ #define ARCH_NATIVE AUDIT_ARCH_S390X #elif __s390__ #define ARCH_NATIVE AUDIT_ARCH_S390 +#elif __riscv && __riscv_xlen == 64 +#define ARCH_NATIVE AUDIT_ARCH_RISCV64 #else #error the simulator code needs to know about your machine type #endif |