Parcourir la source

消除riscv编译警告 (#653)

小王子与木头人 il y a 11 mois
Parent
commit
fded2ba287
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      base/hplatform.h

+ 2 - 0
base/hplatform.h

@@ -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