Skip to content

Commit

Permalink
Add support for riscv32 (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj authored Nov 30, 2023
1 parent 299cf91 commit 6f86540
Show file tree
Hide file tree
Showing 2 changed files with 1,491 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen/ioctl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ int main(void) {
printf("#if __mips == 64\n");
#elif defined(__riscv) && __riscv_xlen == 64
printf("#if defined(__riscv) && __riscv_xlen == 64\n");
#elif defined(__riscv) && __riscv_xlen == 32
printf("#if defined(__riscv) && __riscv_xlen == 32\n");
#elif defined(__s390x__)
printf("#if defined(__s390x__)\n");
#elif defined(__loongarch__)
Expand Down
Loading

0 comments on commit 6f86540

Please sign in to comment.