Selaa lähdekoodia

消除riscv编译警告 (#653)

小王子与木头人 11 kuukautta sitten
vanhempi
commit
fded2ba287
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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