Skip to content

Commit

Permalink
消除riscv编译警告 (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicPrince666 authored Jan 3, 2025
1 parent b057e68 commit fded2ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/hplatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@
#define ARCH_MIPS64
#elif defined(__mips__)
#define ARCH_MIPS
#elif defined(__riscv)
#define ARCH_RISCV
#else
#warning "Untested hardware architecture!"
#endif
Expand Down

0 comments on commit fded2ba

Please sign in to comment.