Explorar o código

消除riscv编译警告 (#653)

小王子与木头人 hai 11 meses
pai
achega
fded2ba287
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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