Explorar el Código

消除riscv编译警告 (#653)

小王子与木头人 hace 11 meses
padre
commit
fded2ba287
Se han modificado 1 ficheros con 2 adiciones y 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